示例#1
0
 public Selector()
 {
     SocketEx.MakeSocketPair(out _reader, out _writer);
     AddCallback(SelectMode.SelectRead, _reader, _ => _reader.Receive(_readerBuffer));
 }