Example #1
0
 private async Task SendPacket(UdpPacket udpPacket)
 {
     byte[] bytes = udpPacket.GetBytes();
     await this.udpSocket.SendToAsync(bytes, 0, bytes.Length, SocketFlags.None, this.fileServerEndPoint);
 }