about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-05-18 10:52:34 +0530
committerGitHub <noreply@github.com>2023-05-18 10:52:34 +0530
commitf9bbd23adf7fff8676c6c691ec45c0204407af25 (patch)
treec216a6fde5cc1fd0a897ac124c0a7326430cee2c /library/std/src/sys/unix/stack_overflow.rs
parente0991b7bcd0e90a9867b013c15123350cecd095c (diff)
parente33d5169e81ee8991b03f58550254a17c547fffc (diff)
downloadrust-f9bbd23adf7fff8676c6c691ec45c0204407af25.tar.gz
rust-f9bbd23adf7fff8676c6c691ec45c0204407af25.zip
Rollup merge of #111527 - knickish:bind_port_0_documentation, r=Mark-Simulacrum
add examples of port 0 binding behavior

Was trying to find the method to specify the IP address but not the port, and there wasn't information easily accessible about it in the `TcpListener` or `SocketAddr`. Adding examples to `TcpListener` and `UdpSocket` for clarity.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions