예제 #1
0
파일: UDPPeer.cs 프로젝트: dzamkov/DUIP
        public UDPHub(UDP UDP, UDPHubSettings Settings)
        {
            this._Settings = Settings;
            this._Peers = new Dictionary<IPEndPoint, UDPPeer>();
            this._ConnectionRequests = new Dictionary<IPEndPoint, _ConnectionRequest>();
            this._UDP = UDP;

            UDP.Received += new UDP.ReceiveRawPacketHandler(this._Receive);
        }
예제 #2
0
파일: UDPPeer.cs 프로젝트: dzamkov/DUIP
 public UDPHub(UDP UDP)
     : this(UDP, new UDPHubSettings())
 {
 }