lirong
asked on
Winsock in classes
Hi , I've created a control that has a winsock object.
I've also create a class that one of its functions received parameters is a winsock object.
When I try to compile the project, an error message appear indicating that private parameters can't be used in public function...
How can I make the winsock object on the control be public ?
I've also create a class that one of its functions received parameters is a winsock object.
When I try to compile the project, an error message appear indicating that private parameters can't be used in public function...
How can I make the winsock object on the control be public ?
can we see the code?
?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you didn't say how can I tell when a certain event is occur. Events like Error, Connection, Data...etc
the events will appear in the event list
the two drop down lists goto sckMain on the left then the right should have all the events
the two drop down lists goto sckMain on the left then the right should have all the events
grr why a 'C' grade?