QPlace
5th December 2008, 15:05
I am porting Win32 C++ application to use QT framework. Amongst other things I have a client socket that is returned 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 TCP classes provided by QT to read data from the established connection where I know the client socket handle? I want to get rid of WSAAsyncSelect and use QT cross-platform support.
Any help/comments will be greatly appreciated.
My question: Is there any way to use TCP classes provided by QT to read data from the established connection where I know the client socket handle? I want to get rid of WSAAsyncSelect and use QT cross-platform support.
Any help/comments will be greatly appreciated.