1
0
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:
tianduanrui 2018-04-29 23:31:04 +08:00
commit 93becf05c3
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ QQtClientProtocol* QQtClientUdpConnectionInstance ( QObject* parent )
ip << "192.168.0.100";
s0->setServer ( ip[0], 8001 );
//我接收服务器消息,所以需要绑定本地端口
s0->bind ( 8500 );
s0->bind ( QHostAddress::Any, 8500 );
}
return p0;

View File

@ -98,7 +98,7 @@ void QQtUdpClient::socketErrorOccured ( QAbstractSocket::SocketError e )
/*
*
*/
pline() << e << state() << socketType() << isSequential();
pline() << e;
switch ( e )
{