Fix TRACE bug and new UDP socket code issue.
This commit is contained in:
parent
15e8c18106
commit
4d0ad9abb6
3 changed files with 10 additions and 10 deletions
|
@ -422,10 +422,12 @@ void SocketManager::poll(unsigned long timeout)
|
|||
}
|
||||
}
|
||||
|
||||
if ((_udpV4Socket)&&(FD_ISSET(_udpV4Socket->_sock,&rfds)))
|
||||
if ((_udpV4Socket)&&(FD_ISSET(_udpV4Socket->_sock,&rfds))) {
|
||||
_udpV4Socket->notifyAvailableForRead(_udpV4Socket,this);
|
||||
if ((_udpV6Socket)&&(FD_ISSET(_udpV6Socket->_sock,&rfds)))
|
||||
}
|
||||
if ((_udpV6Socket)&&(FD_ISSET(_udpV6Socket->_sock,&rfds))) {
|
||||
_udpV6Socket->notifyAvailableForRead(_udpV6Socket,this);
|
||||
}
|
||||
|
||||
bool closedSockets = false;
|
||||
{ // grab copy of TCP sockets list because _tcpSockets[] might be changed in a handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue