Ganapathi Hegde
2005-06-17 10:22:07 UTC
Hi
In Multithreaded Winsock server,usually we have 1 thread for each client
after accepting the connection. This thread is responsible for receiving &
sending data to the client.For asynchronous handling, Is it possible to have
2 socket threads for each client say 1 thread for receiving messages & the
other thread for sending messages after accepting the client connection. The
receiving socket thread should not block the transmitting socket thread. It
should be possible that Rx & Tx executed independently without blocking each
other. I don't wont to use CAsyncSocket MFC class. I need to use Winsock
socket calls.
Is there any sample application????
Regards,
Ganapathi
In Multithreaded Winsock server,usually we have 1 thread for each client
after accepting the connection. This thread is responsible for receiving &
sending data to the client.For asynchronous handling, Is it possible to have
2 socket threads for each client say 1 thread for receiving messages & the
other thread for sending messages after accepting the client connection. The
receiving socket thread should not block the transmitting socket thread. It
should be possible that Rx & Tx executed independently without blocking each
other. I don't wont to use CAsyncSocket MFC class. I need to use Winsock
socket calls.
Is there any sample application????
Regards,
Ganapathi