상속: IConnection
        static void AcceptCallback(IAsyncResult ar)
        {
            var stream = (NamedPipeServerStream)ar.AsyncState;

            stream.EndWaitForConnection(ar);

            var conn = new PipeConnection(stream);

            s_callback(conn);

            NewAccept();
        }
예제 #2
0
        static void AcceptCallback(IAsyncResult ar)
        {
            var stream = (NamedPipeServerStream)ar.AsyncState;

            stream.EndWaitForConnection(ar);

            var conn = new PipeConnection(stream);

            s_callback(conn);

            NewAccept();
        }