-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new cap-net-ext API for more flexible binding and connecting. (#…
…320) * Add a new cap-net-ext API for more flexible binding and connecting. Add new `tcp_binder_for`, `udp_binder_for`, `tcp_connecter_for`, and `udp_connecter_for` functions to cap-net-ext's `PoolExt` trait. These return `TcpBinder`, `UdpBinder`, `TcpConnecter`, and `UdpConnecter` objects which allow users to split validation of addresses from the actual binding and connecting operations. * Drop the `_for` from the function names, and add comments.
- Loading branch information
1 parent
d243284
commit f2ca519
Showing
7 changed files
with
2,217 additions
and
25 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
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
Oops, something went wrong.