-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: use SocketListener::accept_future instead of SocketService
`SocketService` wraps `SocketListener` to accept connections asynchronously and pass them along in the callback. This is unnecessary in an async world as we have `SocketListener::accept_future` which allows us to accept connections asynchronously in a loop.
- Loading branch information
Showing
1 changed file
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters