diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-11-22 10:17:51 +0100 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2021-01-11 21:43:14 +0100 |
| commit | d0beb4badb9064893133c996b05c0748317adf24 (patch) | |
| tree | b13a21d8cf7aabf0ec43e6a70a1f61fbd4f5a6aa /lib/std/net.zig | |
| parent | 676d7fc63c057d24a3cbaa30b786e63de6f40d4a (diff) | |
| download | zig-d0beb4badb9064893133c996b05c0748317adf24.tar.gz zig-d0beb4badb9064893133c996b05c0748317adf24.zip | |
Let the kernel pick a random port
Avoid errors if the socket enters the TIME_WAIT state and we need to
re-execute this test before the OS releases it.
This problem was not really a problem before since the accept()-ed
socket was never closed on the server-side.
Diffstat (limited to 'lib/std/net.zig')
0 files changed, 0 insertions, 0 deletions
