IsBadPort

Determine if a port is "bad" from the perspective of attempting to connect to a node on that port.

Synopsis

Declared in <netbase.h>

bool
IsBadPort(uint16_t port);

Return Value

whether the port is bad

Parameters

NameDescription
port [in]Port to check.

See Also

doc/p2p-bad-ports.md