예제 #1
0
    // Send an object to the server over UDP.
    // Non-blocking (does no I/O operations).
    // Requires that obj is serializable.
    public static void SendUdp(object obj)
    {
        object copy = Encoding.Copy(obj);

        Concurrency.Enqueue(_udpSendQueue, copy);
    }