// // ======================= Bound state ======================= // public void Listen(int backlog) { bool success = tcpSession.Listen(backlog); if (!success) { throw new Exception("Listen"); } state = State.Listening; }