Connection: Move socket creation out of setup
Once we support IPv6, we won’t be able to create a socket until we know which address family to use. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -101,7 +101,7 @@ namespace Network {
|
||||
|
||||
static const int CONGESTION_TIMESTAMP_PENALTY = 500; /* ms */
|
||||
|
||||
static bool try_bind( int socket, uint32_t addr, int port_low, int port_high );
|
||||
bool try_bind( uint32_t addr, int port_low, int port_high );
|
||||
|
||||
class Socket
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user