|
|
@ -33,9 +33,9 @@ func ListenTCP(ctx context.Context, address net.Address, port net.Port, streamSe |
|
|
|
Port: int(port), |
|
|
|
Port: int(port), |
|
|
|
}, streamSettings.SocketSettings) |
|
|
|
}, streamSettings.SocketSettings) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
return nil, err |
|
|
|
return nil, newError("failed to listen TCP on", address, ":", port).Base(err) |
|
|
|
} |
|
|
|
} |
|
|
|
newError("listening TCP on ", address, ":", port).WriteToLog(session.ExportIDToError(ctx)) |
|
|
|
newError("Listening TCP on ", address, ":", port).WriteToLog(session.ExportIDToError(ctx)) |
|
|
|
|
|
|
|
|
|
|
|
tcpSettings := streamSettings.ProtocolSettings.(*Config) |
|
|
|
tcpSettings := streamSettings.ProtocolSettings.(*Config) |
|
|
|
var l *Listener |
|
|
|
var l *Listener |
|
|
|