@Javad No, it is not only for HTTP/FTP. See "Using TCP with QTcpSocket and QTcpServer" part. You can use QTcpSocket for TCP/IP communication to send any data. TCP/IP doesn't care what your (application level) protocol is - it just sends data over network.