Adds additional host:port pair as TCP relay.
This function can be used to initiate TCP connections to different ports on the same bootstrap node, or to add TCP relays without using them as bootstrap nodes.
host |
The hostname or IP address (IPv4 or IPv6) of the TCP relay. Must be at most TOX_MAX_HOSTNAME_LENGTH chars, including the NUL byte. |
port |
The port on the host on which the TCP relay is listening. |
public_key |
The long term public key of the TCP relay (PUBLIC_KEY_SIZE bytes). |
true on success. |