[#IsBadPort]
= IsBadPort
:mrdocs:

Determine if a port is &quot;bad&quot; from the perspective of attempting to connect to a node on that port&period;

== Synopsis

Declared in `&lt;netbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsBadPort(uint16&lowbar;t port);
----

== Return Value

whether the port is bad

== Parameters

[cols="1,4"]
|===
| Name| Description
| *port* [in]
| Port to check&period;
|===

== See Also

doc&sol;p2p&hyphen;bad&hyphen;ports&period;md


[.small]#Created with https://www.mrdocs.com[MrDocs]#
