
9 Dec
2008
9 Dec
'08
4:44 p.m.
I am porting Win32 C++ application to use boost asio library. In this application I have a client socket that is returned to me from the call to 3-rd party library. Then I am getting data from the connection using WSAAsyncSelect, where the first parameter is the socket handle. My question: Is there any way to use asio library to read data from already established connection where I know the client socket handle? I cannot initiate connection myself, it is only done through 3-rd party library, I only know client socket descriptor. Any help/comments will be greatly appreciated.