Replacement for BIO_get_port(), BIO_get_host_ip()

Shivakumar Poojari Shivakumar.Poojari at
Thu Sep 23 12:20:29 UTC 2021

BIO_get_port(), BIO_get_host_ip(),  were deprecated in OpenSSL 1.1.0. Trying for replacement for OpenSSl 3.0

Gone through the below man page, with suggested function how do i get port& host_ip

please suggest,

Shiva kumar
/docs/manmaster/man3/BIO_connect.html - OpenSSL<>
NAME. BIO_socket, BIO_bind, BIO_connect, BIO_listen, BIO_accept_ex, BIO_closesocket - BIO socket communication setup routines. SYNOPSIS #include <openssl/bio.h> int BIO_socket(int domain, int socktype, int protocol, int options); int BIO_bind(int sock, const BIO_ADDR *addr, int options); int BIO_connect(int sock, const BIO_ADDR *addr, int options); int BIO_listen(int sock, const BIO_ADDR *addr ...

Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openssl-users mailing list