ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
stun.h File Reference

Go to the source code of this file.

Macros

#define ASCIICHAT_STUN_PACKED   __attribute__((packed))
#define STUN_URL_BUFFER_SIZE   64
 STUN server configuration.
STUN Protocol Constants
#define STUN_DEFAULT_PORT   3478
 Standard STUN port (RFC 5389).
#define STUN_TLS_DEFAULT_PORT   5349
 STUN over TLS port (RFC 5389).

Functions

struct __attribute__ ((packed))
int stun_servers_parse (const char *csv_servers, const char *default_csv, stun_server_t *out_servers, int max_count)
 Parse comma-separated STUN server URLs into stun_server_t array.

Variables

 stun_server_t