We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513a250 commit fabb584Copy full SHA for fabb584
src/Fleck/WebSocketServer.cs
@@ -75,7 +75,7 @@ public void Start(Action<IWebSocketConnection> config)
75
var ipLocal = new IPEndPoint(_locationIP, Port);
76
ListenerSocket.Bind(ipLocal);
77
ListenerSocket.Listen(100);
78
- Port = ((IPEndPoint)ListenerSocket.Socket.LocalEndPoint).Port;
+ Port = ((IPEndPoint)ListenerSocket.LocalEndPoint).Port;
79
FleckLog.Info(string.Format("Server started at {0} (actual port {1})", Location, Port));
80
if (_scheme == "wss")
81
{
0 commit comments