The QTcpSocket class, part of the Qt framework, provides a TCP socket.
TCP (Transmission Control Protocol) is a reliable, stream-oriented, connection-oriented transport protocol. It is especially well suited for continuous transmission of data.
QTcpSocket
is a convenience subclass of QAbstractSocket
that allows you to establish a TCP connection and transfer streams of data.
The official Qt documentation can be found here for Qt 4.8 and here for Qt 5.