Ignore:
Timestamp:
12/21/22 14:54:01 (2 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

SO_REUSEADDR is enabled for TCP sockets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hu/varadiistvan/scpl/io/_posix/TCPServerSocket.cc

    r33 r39  
    5050    sin.sin_port = htons(port);
    5151
    52     if (bind(reinterpret_cast<struct sockaddr*>(&sin), sizeof(sin), false)<0) {
     52    if (bind(reinterpret_cast<struct sockaddr*>(&sin), sizeof(sin))<0) {
    5353        setErrorCode(errno);
    5454        return;
Note: See TracChangeset for help on using the changeset viewer.