Home > other >  The WSAEventSelect model of a doubt, consult the novice
The WSAEventSelect model of a doubt, consult the novice

Time:11-03

WSAEVENT event=: : WSACreateEvent ();
WSAEventSelect (sock, event, FD_READ);
My question is if the call WSAWaitForMultipleEvents () to get the sock to be read, when the event is set as no signal, there are three kinds of situation the following
[1] is in the call WSAWaitForMultipleEvents () is set to no signal?
[2] is to invoke WSAEnumNetworkEvents before the event is set to no signal?
[3] or I call WSARead read all the data inside the sock, the event will be set to no signal?

Thank you master to give directions

CodePudding user response:

How do not people answer this should be very simple I didn't do it don't have time to verify programming for help for help
  • Related