예제 #1
0
 /// <summary>
 /// Prevents a default instance of the <see cref="ServerCommunication"/> class from being created.
 /// </summary>
 private ServerCommunication()
 {
     m_server     = new TcpClientChannel(IP, PORT);
     m_server_app = new TcpServerChannelByte(IP, APP_PORT);
     m_server.Start();
     m_server_app.Start();
 }
예제 #2
0
 /// <summary>
 /// Prevents a default instance of the <see cref="ServerCommunication"/> class from being created.
 /// </summary>
 private ServerCommunication()
 {
     m_server = new TcpServerChannel(IP, PORT);
     m_server.Start();
 }
예제 #3
0
 /// <summary>
 /// Prevents a default instance of the <see cref="ClientCommunication"/> class from being created.
 /// </summary>
 private ClientCommunication()
 {
     m_client = new TcpClientChannel(IP, PORT);
     m_client.Start();
 }