Question about WSAAsync sockets
Hi, didnt really know to put this under networking or windows, but anyway here it goes.
I was reading an article on gamedev about async sockets and there was a section titled
The way WinSock handles messages is that it only posts one at a time. Once a message is posted, no other messages areposted until they are handled, and a re-enabling function is used.
It wasnt exactly clear though on a couple of points. When FD_ Message is sent, lets just say FD_READ, does that mean all winsock messages including FD_WRITE and so on are also withheld (come to think of it, can anybody else think of another word in the english language with to hh next to each other?? lol) or just more FD_READ's.
The other thing, and this will actually have an impact on me, if i have two sockets and one of them receives a FD_READ, will that block the other socket from sending FD_ messages.
If so, is it acceptable to go send(wParam, nullbuffer, 0, 0) to get the next event?