[#BIO_ADDR_rawport]
= BIO&lowbar;ADDR&lowbar;rawport
:mrdocs:

Return the port number from a BIO&lowbar;ADDR in host byte order&period;

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned short
BIO&lowbar;ADDR&lowbar;rawport(xref:BIO_ADDR.adoc[BIO&lowbar;ADDR] const* ap);
----

== Return Value

Port number, or 0 if unset &sol; not applicable (for example AF&lowbar;UNIX)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ap*
| Address object to query&period;
|===


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