Return the protocol number from an address‐info element (for example IPPROTO_TCP).
Synopsis
Declared in <openssl/bio.h>
int
BIO_ADDRINFO_protocol(BIO_ADDRINFO const* bai);
Return Value
Protocol constant suitable for socket(), or 0 if unspecified.
Parameters
Name |
Description |
bai |
Address‐info node from BIO_lookup_ex() / BIO_ADDRINFO_next(). |
Created with MrDocs