public ManagementHandler(int port, NetworkCallControl control)
 {
     this.control = control;
     this.port    = port;
     thread       = new Thread(new ThreadStart(Listen));
     thread.Start();
     r = new Random();
 }
 public ControlConnectionService(TcpClient clientHandler, NetworkCallControl handlerNCC)
 {
     this.client     = clientHandler;
     this.handlerNCC = handlerNCC;
     init(client);
     ip      = "127.0.0.1";
     counter = 4;
 }
Ejemplo n.º 3
0
 static void Main(string[] args)
 {
     /** ARGS
      * 0 - domain ID
      * 1 - NCC Listener
      * 2 - Management Port
      * */
     Console.Title = "Network Call Controller" + args[0];
     NetworkCallControl ncc = new NetworkCallControl(args);
 }