I am writing a client server application using QTcpSocket.

Two questions:

1. My application is multi-threaded and several threads may call to socket.write() method.
Should I protect calling to write method (using Mutex) or QIODevice::write is MT safe ?

2. If we read and write to the same socket , do we need to lock in application level or does TCPSocket already handles that ?

Thanks.