long start = System.Diagnostics.Stopwatch.GetTimestamp();
// If it's the first datagram, begin the sending process
mSocket.BeginSendTo(buffer.buffer, buffer.position, buffer.size,
SocketFlags.None, ip, OnSend, null);
Console.WriteLine("Send time: " + (System.Diagnostics.Stopwatch.GetTimestamp() - start));