Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[bold]How to tell a R/W event when IOCP entry is available?[/bold]

Status
Not open for further replies.

tzhong

MIS
Mar 22, 2001
11
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top