Exemplo n.º 1
0
		public static new bool Run(Action<Connection> connected, Uri.Endpoint endPoint)
		{
			bool result;
			using (ThreadedServer server = new ThreadedServer(connected))
				result = server.Run(endPoint);
			return result;
		}
Exemplo n.º 2
0
		public static new bool Run(Action<Connection> connected, uint port)
		{
			bool result;
			using (ThreadedServer server = new ThreadedServer(connected))
				result = server.Run(port);
			return result;
		}