Esempio n. 1
0
 /**
  * Class constructor, instantiate server socket and create thread to
  * listen for TCP Clients
  *
  * @param address
  * @param port
  */
 public Broadcaster(string address, int port)
 {
     listener = new TransportListener(this, address, port);
     listener.Start();
 }
Esempio n. 2
0
 /**
  * Class constructor, instantiate server socket and create thread to
  * listen for TCP Clients
  *
  * @param address
  * @param port
  */
 public Broadcaster(string address, int port)
 {
     clients = new ConcurrentDictionary<TransportClient, Client>();
     listener = new TransportListener(this, address, port);
     listener.Start();
 }