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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Mar 6 18:19:36 MSK 2019


Pushed to 2.1.

On 06/03/2019 17:28, Konstantin Osipov wrote:
> * 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