Skip to contents

Servers and listeners

Publish a secret address and accept TCP connections or UDP flows.

TailcatServer
Tailcat server
TailcatListener
Tailcat listener

Clients

Dial a server by its address.

TailcatClient
Tailcat client

Connections

Read from and write to a TCP stream or UDP flow.

TailcatConnection
Tailcat connection

Asynchronous operations

Cancel a pending operation, or run the event loop from a script.

tailcat_cancel()
Cancel a pending asynchronous operation
tailcat_wait() tailcat_run()
Run the event loop from a script

Keys and addresses

Create keys and inspect or resolve addresses locally.

tailcat_keygen()
Generate tailcat keys
tailcat_keys_save() tailcat_keys_load()
Save and load tailcat keys
tailcat_address_parse()
Inspect a tailcat address
tailcat_address_resolve() tailcat_address_resolve_async()
Embed relay details in a tailcat address
tailcat_address_write() tailcat_address_read()
Pass a tailcat address through a file

Secrets

Redacted strings for addresses and keys.

Limits and build information

tailcat_udp_max_payload()
Largest UDP datagram
tailcat_build_info()
Build information for the embedded tailcat library