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