mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
Merge branch 'dev-hg' of https://gitee.com/drabel/LibQQt into dev-hg
This commit is contained in:
commit
93becf05c3
@ -47,7 +47,7 @@ QQtClientProtocol* QQtClientUdpConnectionInstance ( QObject* parent )
|
|||||||
ip << "192.168.0.100";
|
ip << "192.168.0.100";
|
||||||
s0->setServer ( ip[0], 8001 );
|
s0->setServer ( ip[0], 8001 );
|
||||||
//我接收服务器消息,所以需要绑定本地端口
|
//我接收服务器消息,所以需要绑定本地端口
|
||||||
s0->bind ( 8500 );
|
s0->bind ( QHostAddress::Any, 8500 );
|
||||||
}
|
}
|
||||||
|
|
||||||
return p0;
|
return p0;
|
||||||
|
@ -98,7 +98,7 @@ void QQtUdpClient::socketErrorOccured ( QAbstractSocket::SocketError e )
|
|||||||
/*
|
/*
|
||||||
* 在错误状态下重新连接其他热点,直到确定连接类型,写入配置文件
|
* 在错误状态下重新连接其他热点,直到确定连接类型,写入配置文件
|
||||||
*/
|
*/
|
||||||
pline() << e << state() << socketType() << isSequential();
|
pline() << e;
|
||||||
|
|
||||||
switch ( e )
|
switch ( e )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user