QTcpSocket

class PyQt5.QtNetwork.QTcpSocket

C++ documentation