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

Name

Description

bai

Address‐info node to query.

Created with MrDocs