コード例 #1
0
        static void Init(Connection conn, IOFunc dispatchHandler)
        {
            IOChannel channel = new IOChannel((int)conn.Transport.SocketHandle);

            IO.AddWatch(channel, IOCondition.In | IOCondition.Hup, dispatchHandler);
        }