vapor-community / sockets

🔌 Non-blocking TCP socket layer, with event-driven server and client.
MIT License
575 stars 54 forks source link

Socket failed with code 35 Resource temporarily unavailable in event handler #115

Closed codetalks-new closed 6 years ago

codetalks-new commented 7 years ago

Hi, I use startWatching to receive packet. while sometimes it will throw the error. PS: I used the MSG_WAITALL in the recv function. I wonder if it's conflict with the nonblocking mode. enabled by startWatching