[−][src]Module tox_packet::friend_connection
Top-level Friend connection Packets
Structs
Alive | Alive is a struct that holds nothing. |
FriendRequests | FriendRequests is a struct that holds info of nospam and greeting message. |
ShareRelays | ShareRelays is a struct that holds at most 3 TCP relays in a |
Enums
Packet | Friend connection packet enum that encapsulates all types of Friend connection packets. |
Constants
MAX_DATA_REQUEST_SIZE | Maximum size in butes of Onion Data Request packet |
MAX_ONION_CLIENT_DATA_SIZE | Maximum size in bytes of Onion Data Response inner payload |
MAX_SHARED_RELAYS | Maximum number of TCP relays |
MIN_ONION_DATA_RESPONSE_SIZE | Minimum size in bytes of Onion Data Response packet |
PACKET_ID_ALIVE | Id of the ping packet. |
PACKET_ID_SHARE_RELAYS | Id of the |