Link to home
Start Free TrialLog in
Avatar of lirong
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 ?
Avatar of crazyman
crazyman
Flag of United Kingdom of Great Britain and Northern Ireland image

can we see the code?
Avatar of vbyuval
vbyuval

?
ASKER CERTIFIED SOLUTION
Avatar of crazyman
crazyman
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lirong

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
grr why a 'C' grade?