folly::AsyncUDPServerSocket::DispatchMechanism

Strategy used to pick which listener handles each incoming packet.

Synopsis

Declared in <folly/io/async/AsyncUDPServerSocket.h>

enum class DispatchMechanism : int;

Members

NameDescription
RoundRobin Cycle through listeners in order.
ClientAddressHash Pick a listener by hashing the client address.