Skip to content

cf_server_start

Category: net
GitHub: cute_networking.h


Starts up the server connection, ready to receive new client connections.

CF_Result cf_server_start(CF_Server* server, const char* address_and_port);
Parameters Description
address_and_port The address and port combo to start the server upon.

Return Value

Returns any errors as a CF_Result.

Remarks

Please note that not all users will be able to access an ipv6 server address, so it might be good to also provide a way to connect through ipv4.

CF_ServerConfig
cf_server_config_defaults
cf_make_server
cf_destroy_server
cf_server_update