Skip to content
Commit 67d548e9 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov
Browse files

tcp: bind tcp sockets after enabling the repair mode



Only sockets in the repair mode can be bound to the same
port a few time, what is required to restore tcp connects.

v2: move bind() into libsoccr
v3: fix an error message
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 8664130b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment