Exemple #1
0
 public Server()
 {
     request_listener = new RequestListener (this);
     announcers = new Dictionary<string, Announcer> ();
 }
Exemple #2
0
 public Server (string defaultLocation, NetworkInterface networkInterface)
 {
     default_location = defaultLocation;
     network_interface_info = NetworkInterfaceInfo.GetNetworkInterfaceInfo (networkInterface);
     request_listener = new RequestListener (this);
     announcers = new Dictionary<string, Announcer> ();
 }