acceptConnections property

bool acceptConnections
getter/setter pair

Whether a connection attempt succeeds. Default true. Set it to false, then call dropConnection, to keep the client offline.

Implementation

bool acceptConnections = true;