diff options
Diffstat (limited to 'src/lib/libcrypto/man/BIO_s_connect.3')
-rw-r--r-- | src/lib/libcrypto/man/BIO_s_connect.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_connect.3 b/src/lib/libcrypto/man/BIO_s_connect.3 index e0da157e12..cc2790fca6 100644 --- a/src/lib/libcrypto/man/BIO_s_connect.3 +++ b/src/lib/libcrypto/man/BIO_s_connect.3 | |||
@@ -1,6 +1,6 @@ | |||
1 | .\" $OpenBSD: BIO_s_connect.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: BIO_s_connect.3,v 1.3 2016/11/07 15:52:47 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 7 2016 $ |
4 | .Dt BIO_S_CONNECT 3 | 4 | .Dt BIO_S_CONNECT 3 |
5 | .Os | 5 | .Os |
6 | .Sh NAME | 6 | .Sh NAME |
@@ -106,8 +106,8 @@ into a state where it can connect to the same host again. | |||
106 | places the underlying socket in | 106 | places the underlying socket in |
107 | .Fa c | 107 | .Fa c |
108 | if it is not | 108 | if it is not |
109 | .Dv NULL , | 109 | .Dv NULL |
110 | it also returns the socket. | 110 | and also returns the socket. |
111 | If | 111 | If |
112 | .Fa c | 112 | .Fa c |
113 | is not | 113 | is not |
@@ -151,7 +151,7 @@ and | |||
151 | .Fn BIO_set_conn_ip | 151 | .Fn BIO_set_conn_ip |
152 | sets the IP address to | 152 | sets the IP address to |
153 | .Fa ip | 153 | .Fa ip |
154 | using binary form, that is four bytes specifying the IP address | 154 | using binary form i.e. four bytes specifying the IP address |
155 | in big-endian form. | 155 | in big-endian form. |
156 | .Pp | 156 | .Pp |
157 | .Fn BIO_set_conn_int_port | 157 | .Fn BIO_set_conn_int_port |
@@ -179,19 +179,19 @@ returns the port as an | |||
179 | .Vt int . | 179 | .Vt int . |
180 | .Pp | 180 | .Pp |
181 | .Fn BIO_set_nbio | 181 | .Fn BIO_set_nbio |
182 | sets the non blocking I/O flag to | 182 | sets the non-blocking I/O flag to |
183 | .Fa n . | 183 | .Fa n . |
184 | If | 184 | If |
185 | .Fa n | 185 | .Fa n |
186 | is zero then blocking I/O is set. | 186 | is zero then blocking I/O is set. |
187 | If | 187 | If |
188 | .Fa n | 188 | .Fa n |
189 | is 1 then non blocking I/O is set. | 189 | is 1 then non-blocking I/O is set. |
190 | Blocking I/O is the default. | 190 | Blocking I/O is the default. |
191 | The call to | 191 | The call to |
192 | .Fn BIO_set_nbio | 192 | .Fn BIO_set_nbio |
193 | should be made before the connection is established | 193 | should be made before the connection is established |
194 | because non blocking I/O is set during the connect process. | 194 | because non-blocking I/O is set during the connect process. |
195 | .Pp | 195 | .Pp |
196 | .Fn BIO_new_connect | 196 | .Fn BIO_new_connect |
197 | combines | 197 | combines |
@@ -209,10 +209,10 @@ A zero or negative value is returned if the connection | |||
209 | could not be established. | 209 | could not be established. |
210 | The call | 210 | The call |
211 | .Xr BIO_should_retry 3 | 211 | .Xr BIO_should_retry 3 |
212 | should be used for non blocking connect BIOs | 212 | should be used for non-blocking connect BIOs |
213 | to determine if the call should be retried. | 213 | to determine if the call should be retried. |
214 | .Sh NOTES | 214 | .Pp |
215 | If blocking I/O is set then a non positive return value from any | 215 | If blocking I/O is set then a non-positive return value from any |
216 | I/O call is caused by an error condition, although a zero return | 216 | I/O call is caused by an error condition, although a zero return |
217 | will normally mean that the connection was closed. | 217 | will normally mean that the connection was closed. |
218 | .Pp | 218 | .Pp |
@@ -244,7 +244,7 @@ from other I/O processing. | |||
244 | If non-blocking I/O is set, | 244 | If non-blocking I/O is set, |
245 | then retries will be requested as appropriate. | 245 | then retries will be requested as appropriate. |
246 | .Pp | 246 | .Pp |
247 | It addition to | 247 | In addition to |
248 | .Xr BIO_should_read 3 | 248 | .Xr BIO_should_read 3 |
249 | and | 249 | and |
250 | .Xr BIO_should_write 3 | 250 | .Xr BIO_should_write 3 |