Lines Matching refs:connection

48 on the underlying connection. If no connection is established
50 waits for an incoming connection.
55 connection on that chain is shutdown and the socket closed when
59 connection and reset the BIO into a state where it awaits another
60 incoming connection.
92 connection is received. This is useful if, for example, a
93 buffering or SSL BIO is required for each connection. The
116 connection, or request a retry in non blocking mode.
121 incoming connection before processing I/O calls. When an accept
125 When a connection is established a new socket BIO is created for
126 the connection and appended to the chain. That is the chain is now
128 an initial accept socket will await an incoming connection then
137 incoming connections. This can be done by waiting for a connection and
140 connection = BIO_pop(accept);
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
148 If only a single connection will be processed it is possible to
152 and freeing up the accept BIO after the initial connection.
155 called to await an incoming connection it is possible for
159 accepted a connection and retry the call.
200 /* Wait for incoming connection */
202 fprintf(stderr, "Error accepting connection\n");
208 /* Retrieve BIO for connection */
210 BIO_puts(cbio, "Connection 1: Sending out Data on initial connection\n");
211 fprintf(stderr, "Sent out data on connection 1\n");
213 /* Wait for another connection */
215 fprintf(stderr, "Error accepting connection\n");
225 fprintf(stderr, "Sent out data on connection 2\n");
227 BIO_puts(cbio, "Connection 1: Second connection established\n");