Module: Tox::ConnectionStatus

Defined in:
lib/tox/connection_status.rb

Overview

Protocols that can be used to connect to the network or friends.

Constant Summary collapse

NONE =

There is no connection. This instance, or the friend the state change is about, is now offline.

:none
TCP =

A TCP connection has been established. For the own instance, this means it is connected through a TCP relay, only. For a friend, this means that the connection to that particular friend goes through a TCP relay.

:tcp
UDP =

A UDP connection has been established. For the own instance, this means it is able to send UDP packets to DHT nodes, but may still be connected to a TCP relay. For a friend, this means that the connection to that particular friend was built using direct UDP packets.

:udp