Lines Matching refs:BIO

9 BIO_set_bind_mode, BIO_get_bind_mode, BIO_do_accept - accept BIO
17 long BIO_set_accept_name(BIO *b, char *name);
18 char *BIO_get_accept_name(BIO *b);
20 long BIO_set_accept_port(BIO *b, char *port);
21 char *BIO_get_accept_port(BIO *b);
23 BIO *BIO_new_accept(char *host_port);
25 long BIO_set_nbio_accept(BIO *b, int n);
26 long BIO_set_accept_bios(BIO *b, char *bio);
28 char *BIO_get_peer_name(BIO *b);
29 char *BIO_get_peer_port(BIO *b);
30 long BIO_get_accept_ip_family(BIO *b);
31 long BIO_set_accept_ip_family(BIO *b, long family);
33 long BIO_set_bind_mode(BIO *b, long mode);
34 long BIO_get_bind_mode(BIO *b);
36 int BIO_do_accept(BIO *b);
40 BIO_s_accept() returns the accept BIO method. This is a wrapper
44 transferred using only BIO routines. In this way any platform
45 specific operations are hidden by the BIO abstraction.
47 Read and write operations on an accept BIO will perform I/O
49 and the port (see below) is set up properly then the BIO
54 If the close flag is set on an accept BIO then any active
56 the BIO is freed.
58 Calling BIO_reset() on an accept BIO will close any active
59 connection and reset the BIO into a state where it awaits another
76 port of BIO I<b>. "port" has the same syntax as the port specified in
84 a single call: that is it creates a new accept BIO with port
93 buffering or SSL BIO is required for each connection. The
95 be automatically freed when the accept BIO is freed.
97 BIO_get_accept_ip_family() returns the IP family accepted by the BIO I<b>,
100 BIO_set_accept_ip_family() sets the IP family I<family> accepted by BIO I<b>.
113 called, after the accept BIO has been setup, it will attempt
120 When an accept BIO is at the end of a chain it will await an
122 BIO is not at then end of a chain it passes I/O calls to the next
123 BIO in the chain.
125 When a connection is established a new socket BIO is created for
132 then they are placed between the socket and the accept BIO,
136 the case) then the accept BIO must be made available for further
142 After this call B<connection> will contain a BIO for the recently
143 established connection and B<accept> will now be a single BIO
149 perform I/O using the accept BIO itself. This is often undesirable
150 however because the accept BIO will still accept additional incoming
152 and freeing up the accept BIO after the initial connection.
183 BIO_new_accept() returns a BIO or NULL on error.
190 BIO *abio, *cbio, *cbio2;
192 /* First call to BIO_accept() sets up accept BIO */
208 /* Retrieve BIO for connection */
221 /* Close accept BIO to refuse further connections */