コード例 #1
0
        void ClientConnected(IAsyncResult result)
        {
            System.Net.Sockets.TcpListener listener = result.AsyncState as System.Net.Sockets.TcpListener;

            System.Net.Sockets.TcpClient socket = listener.EndAcceptTcpClient(result);

            Damany.RemoteImaging.Common.ObjectSender sender = new Damany.RemoteImaging.Common.ObjectSender(socket);

            foreach (var c in this.controllers)
            {
            }
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: dalinhuang/appcollection
        void ClientConnected(IAsyncResult result)
        {
            System.Net.Sockets.TcpListener listener = result.AsyncState as System.Net.Sockets.TcpListener;

            System.Net.Sockets.TcpClient socket = listener.EndAcceptTcpClient(result);

            Damany.RemoteImaging.Common.ObjectSender sender = new Damany.RemoteImaging.Common.ObjectSender(socket);

            foreach (var c in this.controllers)
            {

            }
        }