/
Make the abstraction layer as minimal as possible
Make the abstraction layer as minimal as possible
It looks like my socket event loop library had a fundamental design problem:
It wasn’t just a minimal abstraction over the different socket APIs
It also handles dispatching of events to sockets and timers and then we run into a lot of lifetime issues
Let us apply separation of concerns to make this library into the minimal abstraction it should be.
, multiple selections available,
Related content
Possible model for an abstracted network API
Possible model for an abstracted network API
More like this
Another possible model
Another possible model
Read with this
Handling large amounts of data with sockets and an event loop
Handling large amounts of data with sockets and an event loop
More like this
Disabling SIGPIPE
Disabling SIGPIPE
More like this
Implementing a event loop - how do you handle timers?
Implementing a event loop - how do you handle timers?
More like this
The socket C10K problem
The socket C10K problem
More like this