diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-05-19 17:20:53 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-21 10:06:35 +1000 |
commit | 8a196fe228dbe5c38bbb39a9d42845257cab605c (patch) | |
tree | 45a6c38add840692997a0f894da4afbb07eb6655 /doc | |
parent | 1202103583b591da0e67d07626d35fd72d87dafa (diff) | |
download | openssl-new-8a196fe228dbe5c38bbb39a9d42845257cab605c.tar.gz |
BIO_s_accept.pod: Document port auto-selection feature of BIO_set_accept_port()
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15354)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/BIO_s_accept.pod | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/man3/BIO_s_accept.pod b/doc/man3/BIO_s_accept.pod index 02c6006453..f49eb532fc 100644 --- a/doc/man3/BIO_s_accept.pod +++ b/doc/man3/BIO_s_accept.pod @@ -77,6 +77,8 @@ port. "port" has the same syntax as the port specified in BIO_set_conn_port() for connect BIOs, that is it can be a numerical port string or a string to lookup using getservbyname() and a string table. +If the given port is C<0> then a random available port is chosen. +It may be queried using BIO_sock_info() and L<BIO_ADDR_service_string(3)>. BIO_new_accept() combines BIO_new() and BIO_set_accept_name() into a single call: that is it creates a new accept BIO with port |