IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QTcpSocket Class

The QTcpSocket class provides a TCP socket.

All functions in this class are reentrant.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QTcpSocket Class

Detailed Description

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. See the QAbstractSocket documentation for details.

TCP sockets cannot be opened in QIODevice::Unbuffered mode.

See Also

Member Function Documentation

 

[explicit] QTcpSocket::QTcpSocket(QObject *parent = nullptr)

Creates a QTcpSocket object in state UnconnectedState.

parent is passed on to the QObject constructor.

See Also

See also socketType()

[virtual] QTcpSocket::~QTcpSocket()

Destroys the socket, closing the connection if necessary.

See Also

See also close()

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+