![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
const BIO_METHOD *
BIO *
DESCRIPTION
BIO_read(3) and BIO_write(3) read or write the underlying socket. BIO_puts(3) is supported but BIO_gets(3) is not. If the close flag is set, then the socket is shut down and closed when the BIO is freed.
Socket BIOs also support any relevant functionality of file descriptor BIOs. The reason for having separate file descriptor and socket BIOs is that on some platforms, sockets are not file descriptors and use distinct I/O routines. Windows is one such platform. Any code mixing the two will not work on all platforms. RETURN VALUES
When called on a socket BIO object,
BIO_method_type(3)
returns the constant SEE ALSOHISTORY
|