cutenet

Undocumented in source.

Members

Enums

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

Functions

cn_client_connect
cn_result_t cn_client_connect(cn_client_t* client, const(ubyte)* connect_token)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_create
cn_client_t* cn_client_create(ushort port, ulong application_id, bool use_ipv6, void* user_allocator_context)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_destroy
void cn_client_destroy(cn_client_t* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_disconnect
void cn_client_disconnect(cn_client_t* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_enable_network_simulator
void cn_client_enable_network_simulator(cn_client_t* client, double latency, double jitter, double drop_chance, double duplicate_chance)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_free_packet
void cn_client_free_packet(cn_client_t* client, void* packet)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_get_incoming_kbps_estimate
float cn_client_get_incoming_kbps_estimate(cn_client_t* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_get_outgoing_kbps_estimate
float cn_client_get_outgoing_kbps_estimate(cn_client_t* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_get_packet_loss_estimate
float cn_client_get_packet_loss_estimate(cn_client_t* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_get_rtt_estimate
float cn_client_get_rtt_estimate(cn_client_t* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_pop_packet
bool cn_client_pop_packet(cn_client_t* client, void** packet, int* size, bool* was_sent_reliably)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_send
cn_result_t cn_client_send(cn_client_t* client, const(void)* packet, int size, bool send_reliably)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_state_get
cn_client_state_t cn_client_state_get(const(cn_client_t)* client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_state_string
const(char)* cn_client_state_string(cn_client_state_t state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_client_update
void cn_client_update(cn_client_t* client, double dt, ulong current_time)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_generate_key
cn_crypto_key_t cn_crypto_generate_key()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_random_bytes
void cn_crypto_random_bytes(void* data, int byte_count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_sign_keygen
void cn_crypto_sign_keygen(cn_crypto_sign_public_t* public_key, cn_crypto_sign_secret_t* secret_key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_endpoint_equals
int cn_endpoint_equals(cn_endpoint_t a, cn_endpoint_t b)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_endpoint_init
int cn_endpoint_init(cn_endpoint_t* endpoint, const(char)* address_and_port_string)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_endpoint_to_string
void cn_endpoint_to_string(cn_endpoint_t endpoint, char* buffer, int buffer_size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_error_failure
cn_result_t cn_error_failure(const(char)* details)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_error_success
cn_result_t cn_error_success()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_generate_connect_token
cn_result_t cn_generate_connect_token(ulong application_id, ulong creation_timestamp, const(cn_crypto_key_t)* client_to_server_key, const(cn_crypto_key_t)* server_to_client_key, ulong expiration_timestamp, uint handshake_timeout, int address_count, const(char*)* address_list, ulong client_id, const(ubyte)* user_data, const(cn_crypto_sign_secret_t)* shared_secret_key, ubyte* token_ptr_out)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_is_error
bool cn_is_error(cn_result_t result)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_config_defaults
cn_server_config_t cn_server_config_defaults()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_create
cn_server_t* cn_server_create(cn_server_config_t config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_destroy
void cn_server_destroy(cn_server_t* server)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_disconnect_client
void cn_server_disconnect_client(cn_server_t* server, int client_index, bool notify_client)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_enable_network_simulator
void cn_server_enable_network_simulator(cn_server_t* server, double latency, double jitter, double drop_chance, double duplicate_chance)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_free_packet
void cn_server_free_packet(cn_server_t* server, int client_index, void* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_get_incoming_kbps_estimate
float cn_server_get_incoming_kbps_estimate(cn_server_t* server, int client_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_get_outgoing_kbps_estimate
float cn_server_get_outgoing_kbps_estimate(cn_server_t* server, int client_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_get_packet_loss_estimate
float cn_server_get_packet_loss_estimate(cn_server_t* server, int client_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_get_rtt_estimate
float cn_server_get_rtt_estimate(cn_server_t* server, int client_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_is_client_connected
bool cn_server_is_client_connected(cn_server_t* server, int client_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_pop_event
bool cn_server_pop_event(cn_server_t* server, cn_server_event_t* event)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_send
cn_result_t cn_server_send(cn_server_t* server, const(void)* packet, int size, int client_index, bool send_reliably)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_set_public_ip
void cn_server_set_public_ip(cn_server_t* server, const(char)* address_and_port)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_start
cn_result_t cn_server_start(cn_server_t* server, const(char)* address_and_port)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_stop
void cn_server_stop(cn_server_t* server)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_update
void cn_server_update(cn_server_t* server, double dt, ulong current_time)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

cn_client_t
struct cn_client_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_key_t
struct cn_crypto_key_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_sign_public_t
struct cn_crypto_sign_public_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_sign_secret_t
struct cn_crypto_sign_secret_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_crypto_signature_t
struct cn_crypto_signature_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_endpoint_t
struct cn_endpoint_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_result_t
struct cn_result_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_config_t
struct cn_server_config_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_event_t
struct cn_server_event_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cn_server_t
struct cn_server_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta