imzhenyu/rDSN

May need to bind the socket to io looper before executing connect() and listen().

linmajia opened this issue · 1 comments

Line 683, hpc_network_provider.linux.cpp. If the connection succeeds very fast before binding the handle, is it possible to lose the success event? The same for listen(). We may test this case by placing a delay before line 683 to ensure that the connection succeeds in time.

Thanks, @linmajia. @shengofsun this may be related to the io-looper bug issue, would you please handle this issue together when you debug that problem? thx.