Send a formatted packet of data to a remote peer.
Make sure that the packet size is not greater than UdpSocket.MaxDatagramSize, otherwise this function will fail and no data will be sent.
Packet to send.
Address of the receiver.
Port of the receiver to send the data to.
Status code
See Implementation
Send a formatted packet of data to a remote peer.
Make sure that the packet size is not greater than UdpSocket.MaxDatagramSize, otherwise this function will fail and no data will be sent.