hi all,
i am writing a client server application and my server uses a thread per client,
writing to the socket as follows
Qt Code:
socket.write(block) // block is of type QByteArray socket.waitForBytesWritten(-1)To copy to clipboard, switch view to plain text mode
does the command in the second line enforce all data t be actually written to the socket, which was in the block variable?
the docu says just "it waits until a payload of data has been written".
greetings
smalls
Bookmarks