[tarantool-patches] [PATCH 1/1] sio: implement getsockname wrapper

Konstantin Osipov kostja at tarantool.org
Wed Mar 6 17:28:15 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/03/06 10:25]:
> 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.
> 

OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list