Skip to content

cf_make_server_insecure

Category: net
GitHub: cute_networking.h


Creates a server using CF's built-in development keypair. INSECURE -- local/testing only.

CF_Server* cf_make_server_insecure(uint64_t application_id);
Parameters Description
application_id Your game id; must match the client.

Remarks

Pairs with cf_client_connect_insecure. Anyone can forge tokens for this server, so it is only appropriate for a machine you control (local dev, singleplayer, unit tests).

cf_client_connect_insecure
cf_make_server
cf_server_start