Windows build fix, set up Windows solution with new layout.
This commit is contained in:
parent
4c59497b95
commit
4923ab2945
4 changed files with 321 additions and 264 deletions
|
@ -726,8 +726,8 @@ void NativeSocketManager::poll(unsigned long timeout,void (*handler)(const Share
|
|||
{
|
||||
Mutex::Lock _l2(_tcpSockets_m);
|
||||
for(std::map< InetAddress,SharedPtr<Socket> >::iterator s(_tcpSockets.begin());s!=_tcpSockets.end();++s) {
|
||||
if (((TcpSocket *)s->second.ptr())->_connecting)
|
||||
FD_SET(s->second->_sock,&efds);
|
||||
if (((NativeTcpSocket *)s->second.ptr())->_connecting)
|
||||
FD_SET(((NativeTcpSocket *)s->second.ptr())->_sock,&efds);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue