コード例 #1
0
ファイル: NetworkSocket.cs プロジェクト: lanicon/OpenP2P
        /**
         * End Send
         * Finish writing the packet and push to send queue for SendThread
         */
        public void Send(NetworkPacket packet)
        {
            packet.Complete();

            lock (thread.SENDQUEUE)
            {
                thread.SENDQUEUE.Enqueue(packet);
            }
        }