Skip to content
This repository was archived by the owner on Mar 9, 2019. It is now read-only.

Add socket listener API #3

Closed
wez opened this issue Jul 22, 2013 · 0 comments
Closed

Add socket listener API #3

wez opened this issue Jul 22, 2013 · 0 comments

Comments

@wez
Copy link
Contributor

wez commented Jul 22, 2013

Provide a convenient but still lowish level API for defining socket based servers and listening for connections.

Need to be able to specify:

  • Local sockaddr to bind to
  • listen(2) backlog
  • Common socket options (eg: SO_REUSEADDR)
  • Callback function to receive the newly connected client socket and phenom sockaddr

It is desirable to enumerate all the active listeners so that they can be shutdown safely in response to the software closing down, or an operator performing an explicit shutdown of a specific listener.

@wez wez closed this as completed Sep 13, 2013
@maczpc maczpc mentioned this issue Nov 27, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant