/** * 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); } }