Skip to content
Snippets Groups Projects
user avatar
Vladislav Shpilevoy authored
SWIM wants to allow to bind to zero ports so as the kernel could
choose any free port automatically. It is needed mainly for
tests.

Zero port means that a real port is known only after bind() has
called, and getsockname() should be used to get it. SWIM uses sio
library for such lowlevel API. This is why that function is added
to sio.

Needed for #3234
37d66377
History
Name Last commit Last update