0

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

Ram
  • 1,155
  • 13
  • 34

1 Answers1

1

calling close() solved the issue.

I guess that would have helped if documented

Ram
  • 1,155
  • 13
  • 34