Frage

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()

War es hilfreich?

Lösung

calling close() solved the issue.

I guess that would have helped if documented

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top