io_service::poll() doesn't call async accept on Linux
Brought to you by:
chris_kohlhoff
On Windows everything is fine. On Linux it (link below) works only on first
connection attempt. Subsequent connects are not processed as wanted.
please, try
telnet localhost 5555
^]close
telnet localhost 5555
You should see that no handlers called on second connect, but 'netstat
-an --tcp' shows that connection is established.
The example producing the issue is accessible here
http://64.186.158.86:8400/asio-sample/socket_test2.zip
It happens on
Ubuntu 8.04 & gcc 4.2.4,
Ubuntu, 10.04 & gcc 4.4.3
FreeBSD 7.3 & gcc 4.2.1
boost 1.41.0, boost 1.46.1, boost 1.47.0