wasSharpNET
/Network/TCP/Utilities.cs |
---|
@@ -26,7 +26,7 @@ |
{ |
var l = new TcpListener(address, 0); |
l.Start(); |
port = ((IPEndPoint)l.LocalEndpoint).Port; |
port = ((IPEndPoint) l.LocalEndpoint).Port; |
l.Stop(); |
return true; |
} |
@@ -37,4 +37,4 @@ |
} |
} |
} |
} |
} |
/Network/TCP/Utilities.cs |
---|
@@ -26,7 +26,7 @@ |
{ |
var l = new TcpListener(address, 0); |
l.Start(); |
port = ((IPEndPoint)l.LocalEndpoint).Port; |
port = ((IPEndPoint) l.LocalEndpoint).Port; |
l.Stop(); |
return true; |
} |
@@ -37,4 +37,4 @@ |
} |
} |
} |
} |
} |