Quote Originally Posted by Witek View Post
Thread is created normally, setSocketDescriptor returns false, so it success, and when i write something, it just not working.
From the Qt doc :
bool QAbstractSocket::setSocketDescriptor ( int socketDescriptor, SocketState socketState = ConnectedState, OpenMode openMode = ReadWrite )

Initializes QAbstractSocket with the native socket descriptor socketDescriptor. Returns true if socketDescriptor is accepted as a valid socket descriptor; otherwise returns false.
Regards,
Marc