[#BIO_bind] = BIO_bind :mrdocs: Bind socket `sock` to `addr,` applying BIO_SOCK_* `options.` == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BIO_bind( int sock, xref:BIO_ADDR.adoc[BIO_ADDR] const* addr, int options); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *sock* | Socket file descriptor. | *addr* | Local address to bind. | *options* | Bitmask of BIO_SOCK_* flags (for example BIO_SOCK_REUSEADDR). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#