public ServerConnection(int port) : base(NetworkUtilities.GetLocalIPAddress(), port) { IsLocalConnection = true; Listener = new TcpListener(IPAddress.Parse(SERVER_IP), PORT_NO); }
public new bool IsLocalConnection() { return(IPAddress == NetworkUtilities.GetLocalIPAddress()); }