summaryrefslogtreecommitdiff
path: root/modules/enet/enet_connection.cpp
AgeCommit message (Collapse)Author
2022-01-03Update copyright statements to 2022RĂ©mi Verschelde
Happy new year to the wonderful Godot community!
2021-12-15[Net] ENet poll now only service the connection once.Jordan Schidlowsky
It used to call `enet_host_service` until all events were consumed, but that also meant constantly polling the connection leading to potentially unbounded processing time. It now only service the connection once, and instead consumes all the retrieved events via `enet_host_check_events`.
2021-07-30[Net] Fix ENet 'connect_to_host' creating only one channel.Fabio Alessandrelli
Passing `0` to `enet_host_create` will allow the maximum amount of channel supported by ENet. For some reasons, `connect_to_host` will instead only create 1 channel when passed `0`. This commit normalize the behaviour to always allocate the maximum allowed channels when passing `0`.
2021-07-29[Net] Implement lower level ENet wrappers.Fabio Alessandrelli