]> git.saurik.com Git - wxWidgets.git/commit
Fix wxSocket::WaitForAccept() in blocking mode.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Aug 2011 19:46:40 +0000 (19:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Aug 2011 19:46:40 +0000 (19:46 +0000)
commit9be02147f08bb5be2251eb5c51e6160a4209fd9f
treecdf3159d3aa3a6a3ed60ae277df0dab01bafc776
parentd6f2b04c723e0e949bfc01a000c60cfac5b96185
Fix wxSocket::WaitForAccept() in blocking mode.

When wxSocket::WaitForAccept() was called from another thread or on a socket
with wxSOCKET_BLOCK flag it didn't work because it called
wxSocketImpl::Select() with wxSOCKET_CONNECTION_FLAG which was only handled
for the client sockets in this function.

Handle it now for the server ones too, this should allow blocking server
sockets to work again.

Closes #12836.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/socket.cpp