![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
qt5
文章平均质量分 76
潇湘李某
这个作者很懒,什么都没留下…
展开
-
QT QUdpSocket类
1.bool hasPendingDatagrams() const Returns true if at least one datagram is waiting to be read; otherwise returns false.2.bool joinMulticastGroup(const QHostAddress &groupAddress)3.bool joinMult原创 2017-10-21 11:19:53 · 1262 阅读 · 0 评论 -
QT QNetworkDatagram类
The QNetworkDatagram class provides the data and metadata of a UDP datagram. QNetworkDatagram类提供UDP数据报的数据和元数据。 QNetworkDatagram可以与QUdpSocket类一起使用,以表示UDP数据报中包含的完整信息。1.QNetworkDatagram() 2.QNetworkDat原创 2017-10-21 11:56:13 · 3280 阅读 · 0 评论 -
QT QHostAddress类
(一)构造函数 1.QHostAddress::QHostAddress(quint32 ip4Addr) *Constructs a host address object with the IPv4 address ip4Addr.2.QHostAddress::QHostAddress(quint8 *ip6Addr) *Constructs a host address object原创 2017-10-21 15:10:59 · 2969 阅读 · 0 评论 -
QT QAbstractSocket类
QAbstractSocket is the base class for QTcpSocket and QUdpSocket and contains all common functionality of these two classes 是QTcpSocket and QUdpSocket的基类;1.enum QAbstractSocket::SocketType: QAbstractS原创 2017-10-23 09:03:41 · 1208 阅读 · 0 评论 -
Qt 网络库各个类的信号
(一)QTcpServer类 void destroyed(QObject *obj = Q_NULLPTR) void **objectName**Changed(const QString &objectName) void acceptError(QAbstractSocket::SocketError socketError) void newConnecti原创 2017-10-23 20:52:17 · 940 阅读 · 0 评论 -
QTcpServer类
(一)public functions 1.QTcpServer(QObject *parent = Q_NULLPTR)2.virtual ~QTcpServer()3.void close()4.QString errorString() const5.virtual bool hasPendingConnections() const6.bool isListening() c原创 2017-10-23 20:36:48 · 871 阅读 · 0 评论