-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Description
Hi,
The closest ticket that I could find was #14755 but it seems closed due to inactivity.
There is maybe a reason but I found a bit odd that TCP connection is done via ( &str , u16 ) and UDP via std::io::net::ip::SocketAddr . Looking at the history it seem like TCP changed to step away from SocketAddr.
TCP:
Line 350 in 56d544f
| pub fn bind(addr: &str, port: u16) -> IoResult<TcpListener> { |
UDP:
Line 68 in 56d544f
| pub fn bind(addr: SocketAddr) -> IoResult<UdpSocket> { |
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels