Changeset 8865c5c72cb845c9c30bb0c7261264fa79c4c29f

Show
Ignore:
Timestamp:
04/30/06 19:19:29 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1146417569 +0000
git-parent:

[d5d024154d08f1bd9dae7362b0be50c299d08cf7]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1146417569 +0000
Message:

Also set SO_REUSEADDR here

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/network/tcp.c

    rfb72aa3 r8865c5c  
    424424            else 
    425425            { 
     426                const int yes = 1; 
     427                setsockopt( i_fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof( yes )); 
    426428#ifdef FD_CLOEXEC 
    427429                fcntl( i_fd, F_SETFD, FD_CLOEXEC );