Beispiel #1
0
		public Server()
		{
			InitializeComponent();
			serverHandler = new AltaNetTest.ServerManager(IPAddress.Any, 7878);
			serverHandler.OnClientConnected += serverHandler_ClientConnected;
			serverHandler.OnClientDisonnected += serverHandler_ClientDisonnected;
			serverHandler.OnMessageReceived += serverHandler_OnMessageReceived;
		}
Beispiel #2
0
 public Server()
 {
     InitializeComponent();
     serverHandler = new AltaNetTest.ServerManager(IPAddress.Any, 7878);
     serverHandler.OnClientConnected   += serverHandler_ClientConnected;
     serverHandler.OnClientDisonnected += serverHandler_ClientDisonnected;
     serverHandler.OnMessageReceived   += serverHandler_OnMessageReceived;
 }