Skip to main content

Module default

Module default 

Source
Expand description

Implement the default transport, which opens TCP connections using a happy-eyeballs style parallel algorithm.

Structsยง

DefaultTransport ๐Ÿ”’
A default transport object that opens TCP connections for a ChannelMethod::Direct.

Staticsยง

CONNECTION_DELAY ๐Ÿ”’
Time to wait between starting parallel connections to the same relay.

Functionsยง

connect_to_one ๐Ÿ”’
Connect to one of the addresses in addrs by running connections in parallel until one works.