Dear wysota, I understand your viewpoint, but do you have some suggestion for make class serversocket viewed in any class and form of project? I prefere declare serversocket like a public in mainwindows ?
Dear wysota, I understand your viewpoint, but do you have some suggestion for make class serversocket viewed in any class and form of project? I prefere declare serversocket like a public in mainwindows ?
and if I have , any forms and just one connection! how can I do IT ? i need any forms see this connection!
beacause I wanna see log of comunication in one form, when I close form I need set a flag do disable Log,
in other form I wanna test comunication, and due any more reasons from project
So pass a pointer to the socket manager to each form when you create them.
rz (30th March 2014)
Bookmarks