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