UDPServer.maxPendingConnections

Define the maximum number of pending connections, during poll, any new pending connection exceeding that value will be automatically dropped. Setting this value to 0 effectively prevents any new pending connection to be accepted (e.g. when all your players have connected).

  1. long maxPendingConnections [@property getter]
    struct UDPServer
    @nogc nothrow @property
    long
    maxPendingConnections
    ()
  2. long maxPendingConnections [@property setter]

Meta