Hi, I have another question on Io completion port:
for poll()/select() on unix, we know the event on the socket is a read or write message by looking at the event_out(poll) or comparing the bit(select). When I call GetQueuedCompletionStatus() and it returns with an I/O completion entry, how do I know whether it's time to read data in socket, or write data to socket?
Thanks in advance!
for poll()/select() on unix, we know the event on the socket is a read or write message by looking at the event_out(poll) or comparing the bit(select). When I call GetQueuedCompletionStatus() and it returns with an I/O completion entry, how do I know whether it's time to read data in socket, or write data to socket?
Thanks in advance!