lsalzman / enet

ENet reliable UDP networking library
MIT License
2.78k stars 675 forks source link

How does ENet handle max slots? #192

Closed playingoDEERUX closed 2 years ago

playingoDEERUX commented 2 years ago

Hello,

I wanted to ask how ENet behaves on an incoming connection when all ENetPeer's on a server have been used up. Does it just drop the connection/not handle it? Or does it put further connections into a queue until a slot is free again (like a backlog)?

Any answer on this question as always would help, I am using this library a lot :)

lsalzman commented 2 years ago

Connections are just dropped. The sending end may try to resend the connect packet a few times before giving up, though..