disable the events when we get a notification about socket being ready for IO and reenable them later after performing the IO in the Unix version to avoid continuous flood of ready notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,6 +39,14 @@ public:
|
||||
|
||||
virtual wxSocketError GetLastError() const;
|
||||
|
||||
virtual void ReenableEvents(wxSocketEventFlags WXUNUSED(flags))
|
||||
{
|
||||
// notifications are never disabled in this implementation, there is no
|
||||
// need for this as WSAAsyncSelect() only sends notification once when
|
||||
// the new data becomes available anyhow, so there is no need to do
|
||||
// anything here
|
||||
}
|
||||
|
||||
private:
|
||||
virtual void DoClose();
|
||||
|
||||
|
Reference in New Issue
Block a user