summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index be6f6d34..c4759507 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -3067,7 +3067,7 @@ typedef enum TOX_ERR_FRIEND_CUSTOM_PACKET {
3067 3067
3068 /** 3068 /**
3069 * The first byte of data was not in the specified range for the packet type. 3069 * The first byte of data was not in the specified range for the packet type.
3070 * This range is 200-254 for lossy, and 160-191 for lossless packets. 3070 * This range is 192-254 for lossy, and 69, 160-191 for lossless packets.
3071 */ 3071 */
3072 TOX_ERR_FRIEND_CUSTOM_PACKET_INVALID, 3072 TOX_ERR_FRIEND_CUSTOM_PACKET_INVALID,
3073 3073
@@ -3092,7 +3092,7 @@ typedef enum TOX_ERR_FRIEND_CUSTOM_PACKET {
3092/** 3092/**
3093 * Send a custom lossy packet to a friend. 3093 * Send a custom lossy packet to a friend.
3094 * 3094 *
3095 * The first byte of data must be in the range 200-254. Maximum length of a 3095 * The first byte of data must be in the range 192-254. Maximum length of a
3096 * custom packet is TOX_MAX_CUSTOM_PACKET_SIZE. 3096 * custom packet is TOX_MAX_CUSTOM_PACKET_SIZE.
3097 * 3097 *
3098 * Lossy packets behave like UDP packets, meaning they might never reach the 3098 * Lossy packets behave like UDP packets, meaning they might never reach the
@@ -3115,7 +3115,7 @@ bool tox_friend_send_lossy_packet(Tox *tox, uint32_t friend_number, const uint8_
3115/** 3115/**
3116 * Send a custom lossless packet to a friend. 3116 * Send a custom lossless packet to a friend.
3117 * 3117 *
3118 * The first byte of data must be in the range 160-191. Maximum length of a 3118 * The first byte of data must be in the range 69, 160-191. Maximum length of a
3119 * custom packet is TOX_MAX_CUSTOM_PACKET_SIZE. 3119 * custom packet is TOX_MAX_CUSTOM_PACKET_SIZE.
3120 * 3120 *
3121 * Lossless packet behaviour is comparable to TCP (reliability, arrive in order) 3121 * Lossless packet behaviour is comparable to TCP (reliability, arrive in order)