|
Tianchi
v0.0.2 build 20130701
C++ library for Qt with VC & mingW
|
信号 | |
| void | recvMessage (QHostAddress client, QByteArray datagram) |
| 设置信号接收槽,只有回调方法未设置时才有效 | |
Public 成员函数 | |
| int | start (int Port) |
| void | stop () |
| bool | sendMessage (QHostAddress host, int port, QByteArray S) |
| 向指定的服务器和端口发送字符集 | |
| bool | sendMessage (QHostAddress host, int port, QString S) |
| 向指定的服务器和端口发送字符串 | |
| void | sendBroadcast (int port, QByteArray S) |
| 向指定的端口发送广播字符集 | |
| void | sendBroadcast (int port, QString S) |
| 向指定的端口发送广播字符串 | |
| void | setRecvMethod (QObject *recvObject, QByteArray recvMethod) |
| 设置回调方法,优先于 signals 的接收方式 | |
Protected 槽 | |
| void | udpRecv () |
Protected 属性 | |
| QObject * | m_recvObject |
| QByteArray | m_recvMethod |
1.8.3.1