示例#1
0
 public UdpReactor(Socket socket, bool sync, System.Net.EndPoint endPoint, UdpAcceptor acceptor) : base(socket, sync)
 {
     this._endPoint = endPoint;
     this._acceptor = acceptor;
 }
示例#2
0
 public IAcceptor CreateAcceptor()
 {
     return(UdpAcceptor.Create(this._sync, this._port));
 }