Example #1
0
 internal static void Send(UDPSocket socket, IPEndPoint endPoint, MemoryStream ms)
 {
     socket.Send(endPoint, new ArraySegment <byte>(ms.ToArray()));
 }
Example #2
0
 internal static void Send(UDPSocket socket, IPEndPoint endPoint, ArraySegment <byte> data)
 {
     socket.Send(endPoint, data);
 }