public static InitializeFirewallCheck ( ushort port ) : void | ||
port | ushort | Port to be allowed |
Résultat | void |
public static void InitializeFirewallCheck(ushort port)
{
DefaultServerTCP socket = new DefaultServerTCP(1);
socket.connected += socket.Disconnect;
socket.Connect("127.0.0.1", port);
}