[#BIO_ADDR_service_string] = BIO_ADDR_service_string :mrdocs: Format the service/port portion of a BIO_ADDR as an allocated string. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char* BIO_ADDR_service_string( xref:BIO_ADDR.adoc[BIO_ADDR] const* ap, int numeric); ---- == Return Value Newly allocated NUL‐terminated string; free with OPENSSL_free(), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *ap* | Address to format. | *numeric* | Non‐zero to prefer a numeric port (NI_NUMERICSERV); 0 may use a service name. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#