upromised.c.utp

Undocumented in source.

Members

Aliases

ssize_t
alias ssize_t = size_t
Undocumented in source.
uint16
alias uint16 = ushort
Undocumented in source.
uint32
alias uint32 = uint
Undocumented in source.
uint64
alias uint64 = ulong
Undocumented in source.
utp_callback_t
alias utp_callback_t = uint64 function(utp_callback_arguments*)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

UTP_ECONNREFUSED
anonymousenum UTP_ECONNREFUSED
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UTP_ON_FIREWALL
anonymousenum UTP_ON_FIREWALL
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UTP_STATE_CONNECT
anonymousenum UTP_STATE_CONNECT
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UTP_UDP_DONTFRAG
anonymousenum UTP_UDP_DONTFRAG
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

utp_check_timeouts
void utp_check_timeouts(utp_context* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_close
void utp_close(utp_socket* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_connect
int utp_connect(utp_socket* s, const(sockaddr)* to, socklen_t tolen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_context_get_option
int utp_context_get_option(utp_context* ctx, int opt)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_context_get_userdata
void* utp_context_get_userdata(utp_context* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_context_set_option
int utp_context_set_option(utp_context* ctx, int opt, int val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_context_set_userdata
void* utp_context_set_userdata(utp_context* ctx, void* userdata)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_create_socket
utp_socket* utp_create_socket(utp_context* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_destroy
void utp_destroy(utp_context* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_get_context
utp_context* utp_get_context(utp_socket* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_get_context_stats
utp_context_stats* utp_get_context_stats(utp_context* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_get_delays
int utp_get_delays(utp_socket* s, uint32* ours, uint32* theirs, uint32* age)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_get_stats
utp_socket_stats* utp_get_stats(utp_socket* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_get_userdata
void* utp_get_userdata(utp_socket* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_getpeername
int utp_getpeername(utp_socket* s, sockaddr* addr, socklen_t* addrlen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_getsockopt
int utp_getsockopt(utp_socket* s, int opt)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_init
utp_context* utp_init(int version_)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_issue_deferred_acks
void utp_issue_deferred_acks(utp_context* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_process_icmp_error
int utp_process_icmp_error(utp_context* ctx, const(byte)* buffer, size_t len, const(sockaddr)* to, socklen_t tolen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_process_icmp_fragmentation
int utp_process_icmp_fragmentation(utp_context* ctx, const(byte)* buffer, size_t len, const(sockaddr)* to, socklen_t tolen, uint16 next_hop_mtu)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_process_udp
int utp_process_udp(utp_context* ctx, const(byte)* buf, size_t len, const(sockaddr)* to, socklen_t tolen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_read_drained
void utp_read_drained(utp_socket* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_set_callback
void utp_set_callback(utp_context* ctx, int callback_name, utp_callback_t proc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_set_userdata
void* utp_set_userdata(utp_socket* s, void* userdata)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_setsockopt
int utp_setsockopt(utp_socket* s, int opt, int val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_write
ssize_t utp_write(utp_socket* s, void* buf, size_t count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_writev
ssize_t utp_writev(utp_socket* s, utp_iovec* iovec, size_t num_iovecs)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

UTP_IOV_MAX
enum UTP_IOV_MAX;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

utp_callback_arguments
struct utp_callback_arguments
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_context
struct utp_context
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_context_stats
struct utp_context_stats
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_iovec
struct utp_iovec
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_socket
struct utp_socket
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_socket_stats
struct utp_socket_stats
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

utp_callback_names
const(char)*[] utp_callback_names;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_error_code_names
const(char)*[] utp_error_code_names;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
utp_state_names
const(char)*[] utp_state_names;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta