cf_client_pop_packet¶
Category: net
GitHub: cute_networking.h
Returns a packet from the server, if available.
| Parameters | Description |
|---|---|
| client | The client. |
| packet | A pointer to the packet will be written here. |
| size | The size of packet will be written here, in bytes. |
| was_sent_reliably | true if the packet was a reliable packet. |
Return Value¶
Returns true if a packet was popped.
Remarks¶
You must free this packet when you're done by calling cf_client_free_packet.