cf_server_set_public_ip¶
Category: net
GitHub: cute_networking.h
Overrides the public address clients are told to connect to (for NAT / port-forwarding).
| Parameters | Description |
|---|---|
server |
The server. |
address_and_port |
The publicly reachable address and port clients should use. |
Remarks¶
Only needed for local development behind a router, or any setup where the address the server binds differs from the address clients must reach. Leave unset in production.