cf_server_send_to_all¶
Category: net
GitHub: cute_networking.h
Sends a packet to every connected client.
| Parameters | Description |
|---|---|
server |
The server. |
packet |
Data to send. |
size |
Size of data in bytes. |
send_reliably |
If true the packet is sent reliably and in order to each client. |
Remarks¶
A convenience over looping every client index and checking cf_server_is_client_connected.