public bool Start(IPAddress ip, int port, IMasterPeerListener listener) { listener_ = listener; EndPoint = new IPEndPoint(ip, port); peerList_ = new PeerList(); connectorList_ = new ConcurrentDictionary <string, MasterConnector>(); return(true); }
public bool Start(IPAddress ip, int port, IMasterPeerListener listener) { listener_ = listener; EndPoint = new IPEndPoint(ip, port); peerList_ = new PeerList(); connectorList_ = new ConcurrentDictionary<string, MasterConnector>(); return true; }