문제

I have a server using libev Whenever a client socket breaks the socket connection is stopped using a code like this

ev_io_stop(loop, watcher);

Do I need to specifically call shutdown() or close()

도움이 되었습니까?

해결책

calling close() solved the issue.

I guess that would have helped if documented

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top