[#BIO_ADDR_rawmake]
= BIO&lowbar;ADDR&lowbar;rawmake
:mrdocs:

Populate a BIO&lowbar;ADDR from a raw address family, bytes, and port&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;ADDR&lowbar;rawmake(
    xref:BIO_ADDR.adoc[BIO&lowbar;ADDR]* ap,
    int family,
    void const* where,
    size&lowbar;t wherelen,
    unsigned short port);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ap*
| Destination address object (must already be allocated)&period;
| *family*
| Address family such as AF&lowbar;INET or AF&lowbar;INET6&period;
| *where*
| Network&hyphen;order address bytes (for example in&lowbar;addr &sol; in6&lowbar;addr)&period;
| *wherelen*
| Length of `where` in bytes&period;
| *port*
| Port number in host byte order&period;
|===


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