summaryrefslogtreecommitdiff
path: root/toxcore/tox.api.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r--toxcore/tox.api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h
index 5e42b866..3cda8126 100644
--- a/toxcore/tox.api.h
+++ b/toxcore/tox.api.h
@@ -2670,7 +2670,7 @@ namespace friend {
2670 FRIEND_NOT_CONNECTED, 2670 FRIEND_NOT_CONNECTED,
2671 /** 2671 /**
2672 * The first byte of data was not in the specified range for the packet type. 2672 * The first byte of data was not in the specified range for the packet type.
2673 * This range is 200-254 for lossy, and 160-191 for lossless packets. 2673 * This range is 192-254 for lossy, and 69, 160-191 for lossless packets.
2674 */ 2674 */
2675 INVALID, 2675 INVALID,
2676 /** 2676 /**
@@ -2692,7 +2692,7 @@ namespace friend {
2692 /** 2692 /**
2693 * Send a custom lossy packet to a friend. 2693 * Send a custom lossy packet to a friend.
2694 * 2694 *
2695 * The first byte of data must be in the range 200-254. Maximum length of a 2695 * The first byte of data must be in the range 192-254. Maximum length of a
2696 * custom packet is $MAX_CUSTOM_PACKET_SIZE. 2696 * custom packet is $MAX_CUSTOM_PACKET_SIZE.
2697 * 2697 *
2698 * Lossy packets behave like UDP packets, meaning they might never reach the 2698 * Lossy packets behave like UDP packets, meaning they might never reach the
@@ -2716,7 +2716,7 @@ namespace friend {
2716 /** 2716 /**
2717 * Send a custom lossless packet to a friend. 2717 * Send a custom lossless packet to a friend.
2718 * 2718 *
2719 * The first byte of data must be in the range 160-191. Maximum length of a 2719 * The first byte of data must be in the range 69, 160-191. Maximum length of a
2720 * custom packet is $MAX_CUSTOM_PACKET_SIZE. 2720 * custom packet is $MAX_CUSTOM_PACKET_SIZE.
2721 * 2721 *
2722 * Lossless packet behaviour is comparable to TCP (reliability, arrive in order) 2722 * Lossless packet behaviour is comparable to TCP (reliability, arrive in order)