IOCP question
- From: Vincent <Vincent@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 May 2008 22:42:00 -0700
Hi,
I would like to write an IOCP server which is act as middle man to receive
the data from client A and pass it to client B
First, when client A and client B connect to the server, i will store both
client socket handles.
First we call WSARecv() with the socket handle from Client A. Server will
able to receive the data from client A.
But after i call WSASend() by using socket handle from Client B in order to
send data from A to B, i able to do it, but after that
GetQueuedCompletionStatus will waiting there for data from Client B.
My question is in order to receive the data from A again, should i call
again WSARecv() after WSASend()?
.
- Follow-Ups:
- Re: IOCP question
- From: m
- Re: IOCP question
- From: Kellie Fitton
- Re: IOCP question
- Prev by Date: how can i programmatically enable /disable "File and printer shari
- Next by Date: Re: Vista TCP/IP Stack not RFC 1624 compliant
- Previous by thread: how can i programmatically enable /disable "File and printer shari
- Next by thread: Re: IOCP question
- Index(es):