Lines Matching full:accept
9 BIO_set_bind_mode, BIO_get_bind_mode, BIO_do_accept - accept BIO
40 BIO_s_accept() returns the accept BIO method. This is a wrapper
41 round the platform's TCP/IP socket accept routines.
43 Using accept BIOs, TCP/IP connections can be accepted and data
47 Read and write operations on an accept BIO will perform I/O
52 Accept BIOs support BIO_puts() but not BIO_gets().
54 If the close flag is set on an accept BIO then any active
58 Calling BIO_reset() on an accept BIO will close any active
63 the accept socket. See L<BIO_s_fd(3)>
65 BIO_set_accept_name() uses the string B<name> to set the accept
75 BIO_set_accept_port() uses the string B<port> to set the accept
84 a single call: that is it creates a new accept BIO with port
87 BIO_set_nbio_accept() sets the accept socket to blocking mode
95 be automatically freed when the accept BIO is freed.
113 called, after the accept BIO has been setup, it will attempt
114 to create the accept socket and bind an address to it. Second
120 When an accept BIO is at the end of a chain it will await an
121 incoming connection before processing I/O calls. When an accept
127 accept->socket. This effectively means that attempting I/O on
128 an initial accept socket will await an incoming connection then
132 then they are placed between the socket and the accept BIO,
133 that is the chain will be accept->otherbios->socket.
136 the case) then the accept BIO must be made available for further
140 connection = BIO_pop(accept);
143 established connection and B<accept> will now be a single BIO
145 If no further connections will be accepted the B<accept> can
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.
154 If the underlying accept socket is nonblocking and BIO_do_accept() is
157 then it is an indication that an accept attempt would block: the application
174 BIO_get_accept_name() returns the accept name or NULL on error.
177 BIO_get_accept_port() returns the accept port as a string or NULL on error.
192 /* First call to BIO_do_accept() sets up accept BIO */
195 fprintf(stderr, "Error setting up accept\n");
221 /* Close accept BIO to refuse further connections */