Create a listening TCP socket for host_port (deprecated; prefer BIO_new_accept).
Synopsis
Declared in <openssl/bio.h>
[[deprecated]]
int
BIO_get_accept_socket(
char* host_port,
int mode);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
Accepted listening socket fd on success, or INVALID_SOCKET / ‐1 on error.
Parameters
Name |
Description |
host_port |
Host:port string (or ":port" / "port") describing the bind address. |
mode |
BIO_BIND_* behaviour (for example BIO_BIND_REUSEADDR). |
Created with MrDocs