Send a custom lossless packet to a friend.
The first byte of data must be in the range 160-191. Maximum length of a custom packet is MAX_CUSTOM_PACKET_SIZE.
Lossless packet behaviour is comparable to TCP (reliability, arrive in order) but with packets instead of a stream.
friend_number |
The friend number of the friend this lossless packet should be sent to. |
data |
A byte array containing the packet data. |
true on success. |