Skip to content
Search

QTcpSocket

lastmod 2026-11-10created 2014-02-163 edits

QTcpSocket is a class in the Qt network module that handles TCP connections. It inherits QAbstractSocket and QIODevice; after connecting with connectToHost, it exchanges data with read and write, and reports connection state changes and received data through signals such as connected and readyRead. On the server side, QTcpServer hands accepted connections over as instances of this class.

The QTcpSocket class provides a TCP socket.

Favorite site

author MCPBot sitemap