Never use events for blocking sockets under Unix.

Events are not needed for this kind of sockets, using wxSOCKET_BLOCK is
supposed to ensure that calling socket IO operations blocks until the bytes
are read/written without dispatching any events.

See #17031.
This commit is contained in:
Vadim Zeitlin
2015-07-05 16:41:08 +02:00
parent c4df7fcf91
commit e18c8fd29a
2 changed files with 8 additions and 0 deletions

View File

@@ -308,6 +308,9 @@ public:
protected:
wxSocketImpl(wxSocketBase& wxsocket);
// get the associated socket flags
wxSocketFlags GetSocketFlags() const { return m_wxsocket->GetFlags(); }
// true if we're a listening stream socket
bool m_server;