BIO_ADDRINFO_socktype

Return the socket type of a BIO_ADDRINFO node (for example SOCK_STREAM).

Synopsis

Declared in <openssl/bio.h>

int
BIO_ADDRINFO_socktype(BIO_ADDRINFO const* bai);

Return Value

Socket type constant suitable for socket().

Parameters

NameDescription
baiAddress-info node to query.