public TcpSocket(EventLoop ev, Socket s) { _loop = ev; _state = State.Connected; InitSocket(s); }
public TcpServer(EventLoop ev) { _loop = ev; _backlog = 1; }
public TcpSocket(EventLoop ev) { _loop = ev; _state = State.Disconnected; }