Has anyone run into issues with wxSocKetServer::Accept.
In my application after a certain amount of time the following occurs.
* occasionally the Accept fails (returns 0), the Accept is used in the event handler in case of wxSOCKET_CONNECTION_FLAG
* and from a given moment even this failure no longer occurs, but no client is able to connect. All connections fail.
Any help or tips to check certain things are welcome.
Many thanks.
wxSocketServer Accept issues
Two questions:
What version of wxWidgets are you using?
Have you read: http://forums.wxwidgets.org/viewtopic.php?t=2736 ?
What version of wxWidgets are you using?
Have you read: http://forums.wxwidgets.org/viewtopic.php?t=2736 ?
I am using wx 2.8.10.
And I have read that post already several times.
One of my issues is what the example describes as :
But the most severe ting is at a given moment no more sockets connections can be made ..
And I have read that post already several times.
One of my issues is what the example describes as :
Code: Select all
//
// If a wierd fluke happens and we get a null socket break out
//
if(!pSocket)
return;