Debian Codegraph @

po/fr/man3/BIO_s_connect.3ssl.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Nicolas François <[email protected]>, 2008.
5 # David Prévot <[email protected]>, 2012, 2013, 2015.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
10 "PO-Revision-Date: 2015-05-05 18:27-0400\n"
11 "Last-Translator: David Prévot <[email protected]>\n"
12 "Language-Team: French <[email protected]>\n"
13 "Language: fr\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
19 #. #-#-#-#-# archlinux: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #. Required to disable full justification in groff 1.23.0.
21 #. ========================================================================
22 #. type: IX
23 #. #-#-#-#-# debian-trixie: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
24 #. ========================================================================
25 #. type: IX
26 #. #-#-#-#-# debian-unstable: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
27 #. ========================================================================
28 #. type: IX
29 #: archlinux debian-trixie debian-unstable
30 #, no-wrap
31 msgid "Title"
32 msgstr ""
33
34 #. Required to disable full justification in groff 1.23.0.
35 #. ========================================================================
36 #. type: IX
37 #: archlinux
38 #, no-wrap
39 msgid "BIO_S_CONNECT 3ssl"
40 msgstr ""
41
42 #. type: TH
43 #: archlinux debian-trixie debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "B<EISCONN>"
46 msgid "BIO_S_CONNECT"
47 msgstr "B<EISCONN>"
48
49 #. type: TH
50 #: archlinux debian-trixie debian-unstable
51 #, no-wrap
52 msgid "2026-04-07"
53 msgstr "7 avril 2026"
54
55 #. type: TH
56 #: archlinux debian-unstable
57 #, no-wrap
58 msgid "3.6.2"
59 msgstr "3.6.2"
60
61 #. type: TH
62 #: archlinux debian-trixie debian-unstable
63 #, no-wrap
64 msgid "OpenSSL"
65 msgstr "OpenSSL"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable
69 #, no-wrap
70 msgid "NAME"
71 msgstr "NOM"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable
75 #, fuzzy
76 #| msgid ""
77 #| "BIO_s_connect, BIO_new_connect, BIO_set_conn_hostname, BIO_set_conn_port, "
78 #| "BIO_set_conn_ip, BIO_set_conn_int_port, BIO_get_conn_hostname, "
79 #| "BIO_get_conn_port, BIO_get_conn_ip, BIO_get_conn_int_port, BIO_set_nbio, "
80 #| "BIO_do_connect - connect BIO"
81 msgid ""
82 "BIO_s_connect, BIO_new_connect, BIO_set_conn_hostname, BIO_set_conn_port, "
83 "BIO_set_conn_address, BIO_set_conn_ip_family, BIO_get_conn_hostname, "
84 "BIO_get_conn_port, BIO_get_conn_address, BIO_get_conn_ip_family, "
85 "BIO_set_nbio, BIO_set_sock_type, BIO_get_sock_type, BIO_get0_dgram_bio, "
86 "BIO_do_connect - connect BIO"
87 msgstr ""
88 "BIO_s_connect, BIO_new_connect, BIO_set_conn_hostname, BIO_set_conn_port, "
89 "BIO_set_conn_ip, BIO_set_conn_int_port, BIO_get_conn_hostname, "
90 "BIO_get_conn_port, BIO_get_conn_ip, BIO_get_conn_int_port, BIO_set_nbio, "
91 "BIO_do_connect - Connecter un BIO"
92
93 #. type: IX
94 #: archlinux debian-trixie debian-unstable
95 #, no-wrap
96 msgid "SYNOPSIS"
97 msgstr "SYNOPSIS"
98
99 #. type: IX
100 #: archlinux debian-trixie debian-unstable
101 #, fuzzy, no-wrap
102 #| msgid "B<header>"
103 msgid "Header"
104 msgstr "B<header>"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable
108 #, no-wrap
109 msgid ""
110 "\\& #include E<lt>openssl/bio.hE<gt>\n"
111 "\\&\n"
112 "\\& const BIO_METHOD *BIO_s_connect(void);\n"
113 "\\&\n"
114 "\\& BIO *BIO_new_connect(const char *name);\n"
115 "\\&\n"
116 "\\& long BIO_set_conn_hostname(BIO *b, char *name);\n"
117 "\\& long BIO_set_conn_port(BIO *b, char *port);\n"
118 "\\& long BIO_set_conn_address(BIO *b, BIO_ADDR *addr);\n"
119 "\\& long BIO_set_conn_ip_family(BIO *b, long family);\n"
120 "\\& const char *BIO_get_conn_hostname(BIO *b);\n"
121 "\\& const char *BIO_get_conn_port(BIO *b);\n"
122 "\\& const BIO_ADDR *BIO_get_conn_address(BIO *b);\n"
123 "\\& const long BIO_get_conn_ip_family(BIO *b);\n"
124 "\\&\n"
125 "\\& long BIO_set_nbio(BIO *b, long n);\n"
126 "\\&\n"
127 "\\& int BIO_set_sock_type(BIO *b, int sock_type);\n"
128 "\\& int BIO_get_sock_type(BIO *b);\n"
129 "\\& int BIO_get0_dgram_bio(BIO *B, BIO **dgram_bio);\n"
130 "\\&\n"
131 "\\& long BIO_do_connect(BIO *b);\n"
132 msgstr ""
133
134 #. type: IX
135 #: archlinux debian-trixie debian-unstable
136 #, no-wrap
137 msgid "DESCRIPTION"
138 msgstr "DESCRIPTION"
139
140 #. type: Plain text
141 #: archlinux
142 msgid ""
143 "\\&B<BIO_s_connect()> returns the connect BIO method. This is a wrapper "
144 "round the platform\\*(Aqs TCP/IP socket connection routines."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable
149 msgid ""
150 "Using connect BIOs, TCP/IP connections can be made and data transferred "
151 "using only BIO routines. In this way any platform specific operations are "
152 "hidden by the BIO abstraction."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable
157 msgid ""
158 "Read and write operations on a connect BIO will perform I/O on the "
159 "underlying connection. If no connection is established and the port and "
160 "hostname (see below) is set up properly then a connection is established "
161 "first."
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable
166 msgid "Connect BIOs support B<BIO_puts()> and B<BIO_gets()>."
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable
171 msgid ""
172 "If the close flag is set on a connect BIO then any active connection is "
173 "shutdown and the socket closed when the BIO is freed."
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable
178 msgid ""
179 "Calling B<BIO_reset()> on a connect BIO will close any active connection and "
180 "reset the BIO into a state where it can connect to the same host again."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable
185 msgid ""
186 "\\&B<BIO_new_connect()> combines B<BIO_new()> and B<BIO_set_conn_hostname()> "
187 "into a single call: that is it creates a new connect BIO with hostname "
188 "B<name>."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable
193 msgid ""
194 "\\&B<BIO_set_conn_hostname()> uses the string B<name> to set the hostname. "
195 "The hostname can be an IP address; if the address is an IPv6 one, it must be "
196 "enclosed in brackets CW<\\*(C`[\\*(C'> and CW<\\*(C`]\\*(C'>. The hostname "
197 "can also include the port in the form hostname:port; see "
198 "B<BIO_parse_hostserv>\\|(3) and B<BIO_set_conn_port()> for details."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable
203 msgid ""
204 "\\&B<BIO_set_conn_port()> sets the port to B<port>. B<port> can be the "
205 "numerical form or a service string such as \"http\", which will be mapped to "
206 "a port number using the system function B<getservbyname()>."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable
211 msgid ""
212 "\\&B<BIO_set_conn_address()> sets the address and port information using a "
213 "B<BIO_ADDR>\\|(3ssl)."
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable
218 msgid "\\&B<BIO_set_conn_ip_family()> sets the IP family."
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable
223 msgid ""
224 "\\&B<BIO_get_conn_hostname()> returns the hostname of the connect BIO or "
225 "NULL if the BIO is initialized but no hostname is set. This return value is "
226 "an internal pointer which should not be modified."
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable
231 msgid ""
232 "\\&B<BIO_get_conn_port()> returns the port as a string. This return value "
233 "is an internal pointer which should not be modified."
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable
238 msgid ""
239 "\\&B<BIO_get_conn_address()> returns the address information as a BIO_ADDR. "
240 "This return value is an internal pointer which should not be modified."
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable
245 msgid ""
246 "\\&B<BIO_get_conn_ip_family()> returns the IP family of the connect BIO."
247 msgstr ""
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable
251 msgid ""
252 "\\&B<BIO_set_nbio()> sets the non blocking I/O flag to B<n>. If B<n> is zero "
253 "then blocking I/O is set. If B<n> is 1 then non blocking I/O is set. "
254 "Blocking I/O is the default. The call to B<BIO_set_nbio()> should be made "
255 "before the connection is established because non blocking I/O is set during "
256 "the connect process."
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable
261 msgid ""
262 "\\&B<BIO_do_connect()> attempts to connect the supplied BIO. This performs "
263 "an SSL/TLS handshake as far as supported by the BIO. For non-SSL BIOs the "
264 "connection is done typically at TCP level. If domain name resolution yields "
265 "multiple IP addresses all of them are tried after B<connect()> failures. "
266 "The function returns 1 if the connection was established successfully. A "
267 "zero or negative value is returned if the connection could not be "
268 "established. The call B<BIO_should_retry()> should be used for non blocking "
269 "connect BIOs to determine if the call should be retried. If a connection "
270 "has already been established this call has no effect."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable
275 msgid ""
276 "\\&B<BIO_set_sock_type()> can be used to set a socket type value as would be "
277 "passed in a call to B<socket>\\|(2). The only currently supported values are "
278 "B<SOCK_STREAM> (the default) and B<SOCK_DGRAM>. If B<SOCK_DGRAM> is "
279 "configured, the connection created is a UDP datagram socket handled via "
280 "B<BIO_s_datagram>\\|(3). I/O calls such as B<BIO_read>\\|(3) and "
281 "B<BIO_write>\\|(3) are forwarded transparently to an internal "
282 "B<BIO_s_datagram>\\|(3) instance. The created B<BIO_s_datagram>\\|(3) "
283 "instance can be retrieved using B<BIO_get0_dgram_bio()> if desired, which "
284 "writes a pointer to the B<BIO_s_datagram>\\|(3) instance to I<*dgram_bio>. "
285 "The lifetime of the internal B<BIO_s_datagram>\\|(3) is managed by "
286 "B<BIO_s_connect()> and does not need to be freed by the caller."
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable
291 msgid ""
292 "\\&B<BIO_get_sock_type()> retrieves the value set using "
293 "B<BIO_set_sock_type()>."
294 msgstr ""
295
296 #. type: IX
297 #: archlinux debian-trixie debian-unstable
298 #, no-wrap
299 msgid "NOTES"
300 msgstr "NOTES"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable
304 msgid ""
305 "If blocking I/O is set then a non positive return value from any I/O call is "
306 "caused by an error condition, although a zero return will normally mean that "
307 "the connection was closed."
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux
312 msgid ""
313 "If the port name is supplied as part of the hostname then this will override "
314 "any value set with B<BIO_set_conn_port()>. This may be undesirable if the "
315 "application does not wish to allow connection to arbitrary ports. This can "
316 "be avoided by checking for the presence of the \\*(Aq:\\*(Aq character in "
317 "the passed hostname and either indicating an error or truncating the string "
318 "at that point."
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable
323 msgid ""
324 "The values returned by B<BIO_get_conn_hostname()>, "
325 "B<BIO_get_conn_address()>, and B<BIO_get_conn_port()> are updated when a "
326 "connection attempt is made. Before any connection attempt the values "
327 "returned are those set by the application itself."
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable
332 msgid ""
333 "Applications do not have to call B<BIO_do_connect()> but may wish to do so "
334 "to separate the connection process from other I/O processing."
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable
339 msgid ""
340 "If non blocking I/O is set then retries will be requested as appropriate."
341 msgstr ""
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable
345 msgid ""
346 "It addition to B<BIO_should_read()> and B<BIO_should_write()> it is also "
347 "possible for B<BIO_should_io_special()> to be true during the initial "
348 "connection process with the reason BIO_RR_CONNECT. If this is returned then "
349 "this is an indication that a connection attempt would block, the application "
350 "should then take appropriate action to wait until the underlying socket has "
351 "connected and retry the call."
352 msgstr ""
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable
356 #, fuzzy
357 #| msgid ""
358 #| "BIO_set_conn_hostname(), BIO_set_conn_port(), BIO_set_conn_ip(), "
359 #| "BIO_set_conn_int_port(), BIO_get_conn_hostname(), BIO_get_conn_port(), "
360 #| "BIO_get_conn_ip(), BIO_get_conn_int_port(), BIO_set_nbio() and "
361 #| "BIO_do_connect() are macros."
362 msgid ""
363 "\\&B<BIO_set_conn_hostname()>, B<BIO_set_conn_port()>, "
364 "B<BIO_get_conn_hostname()>, \\&B<BIO_set_conn_address()>, "
365 "B<BIO_get_conn_port()>, B<BIO_get_conn_address()>, "
366 "\\&B<BIO_set_conn_ip_family()>, B<BIO_get_conn_ip_family()>, "
367 "\\&B<BIO_set_nbio()>, and B<BIO_do_connect()> are macros."
368 msgstr ""
369 "BIO_set_conn_hostname(), BIO_set_conn_port(), BIO_set_conn_ip(), "
370 "BIO_set_conn_int_port(), BIO_get_conn_hostname(), BIO_get_conn_port(), "
371 "BIO_get_conn_ip(), BIO_get_conn_int_port(), BIO_set_nbio() et "
372 "BIO_do_connect() sont des macros."
373
374 #. type: IX
375 #: archlinux debian-trixie debian-unstable
376 #, no-wrap
377 msgid "RETURN VALUES"
378 msgstr "VALEURS RENVOYÉES"
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable
382 #, fuzzy
383 #| msgid "BIO_s_null() returns the null sink BIO method."
384 msgid "\\&B<BIO_s_connect()> returns the connect BIO method."
385 msgstr "B<BIO_s_null>() renvoie la méthode de BIO destination NULL."
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable
389 #, fuzzy
390 #| msgid ""
391 #| "BIO_set_conn_hostname(), BIO_set_conn_port(), BIO_set_conn_ip() and "
392 #| "BIO_set_conn_int_port() always return 1."
393 msgid ""
394 "\\&B<BIO_set_conn_address()>, B<BIO_set_conn_port()>, and "
395 "B<BIO_set_conn_ip_family()> return 1 or E<lt>=0 if an error occurs."
396 msgstr ""
397 "BIO_set_conn_hostname(), BIO_set_conn_port(), BIO_set_conn_ip() et "
398 "BIO_set_conn_int_port() renvoient toujours 1."
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable
402 #, fuzzy
403 #| msgid "BIO_set(), BIO_free() return 1 for success and 0 for failure."
404 msgid ""
405 "\\&B<BIO_set_conn_hostname()> returns 1 on success and E<lt>=0 on failure."
406 msgstr ""
407 "B<BIO_set>() et B<BIO_free>() renvoient 1 si elles réussissent et 0 si elles "
408 "échouent."
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable
412 #, fuzzy
413 #| msgid ""
414 #| "BIO_get_conn_hostname() returns the connected hostname or NULL is none "
415 #| "was set."
416 msgid ""
417 "\\&B<BIO_get_conn_address()> returns the address information or NULL if none "
418 "was set."
419 msgstr ""
420 "BIO_get_conn_hostname() renvoie le nom de l'hôte connecté ou NULL s'il n'y "
421 "en a pas."
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable
425 #, fuzzy
426 #| msgid ""
427 #| "BIO_get_conn_hostname() returns the connected hostname or NULL is none "
428 #| "was set."
429 msgid ""
430 "\\&B<BIO_get_conn_hostname()> returns the connected hostname or NULL if none "
431 "was set."
432 msgstr ""
433 "BIO_get_conn_hostname() renvoie le nom de l'hôte connecté ou NULL s'il n'y "
434 "en a pas."
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable
438 #, fuzzy
439 #| msgid ""
440 #| "BIO_get_conn_int_port() returns the connected port or 0 if none was set."
441 msgid ""
442 "\\&B<BIO_get_conn_ip_family()> returns the address family or -1 if none was "
443 "set."
444 msgstr ""
445 "BIO_get_conn_int_port() renvoie le port connecté ou 0 s'il n'y en a pas."
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable
449 #, fuzzy
450 #| msgid ""
451 #| "BIO_get_conn_port() returns a string representing the connected port or "
452 #| "NULL if not set."
453 msgid ""
454 "\\&B<BIO_get_conn_port()> returns a string representing the connected port "
455 "or NULL if not set."
456 msgstr ""
457 "BIO_get_conn_port() renvoie une chaîne représentant le port connecté ou NULL "
458 "s'il n'y en a pas."
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable
462 msgid "\\&B<BIO_set_nbio()> returns 1 or E<lt>=0 if an error occurs."
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable
467 #, fuzzy
468 #| msgid ""
469 #| "BIO_do_connect() returns 1 if the connection was successfully established "
470 #| "and 0 or -1 if the connection failed."
471 msgid ""
472 "\\&B<BIO_do_connect()> returns 1 if the connection was successfully "
473 "established and E<lt>=0 if the connection failed."
474 msgstr ""
475 "BIO_do_connect() renvoie 1 si la connexion a été établie avec succès et 0 ou "
476 "-1 si la connexion a échoué."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable
480 #, fuzzy
481 #| msgid "BIO_set(), BIO_free() return 1 for success and 0 for failure."
482 msgid "\\&B<BIO_set_sock_type()> returns 1 on success or 0 on failure."
483 msgstr ""
484 "B<BIO_set>() et B<BIO_free>() renvoient 1 si elles réussissent et 0 si elles "
485 "échouent."
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable
489 #, fuzzy
490 #| msgid ""
491 #| "BIO_get_fd() returns the socket or -1 if the BIO has not been initialized."
492 msgid ""
493 "\\&B<BIO_get_sock_type()> returns a socket type or 0 if the call is not "
494 "supported."
495 msgstr "BIO_get_fd() renvoie la socket ou -1 si le BIO n'a pas été initialisé."
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable
499 #, fuzzy
500 #| msgid "BIO_set(), BIO_free() return 1 for success and 0 for failure."
501 msgid "\\&B<BIO_get0_dgram_bio()> returns 1 on success or 0 on failure."
502 msgstr ""
503 "B<BIO_set>() et B<BIO_free>() renvoient 1 si elles réussissent et 0 si elles "
504 "échouent."
505
506 #. type: IX
507 #: archlinux debian-trixie debian-unstable
508 #, no-wrap
509 msgid "EXAMPLES"
510 msgstr "EXEMPLES"
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable
514 msgid ""
515 "This is example connects to a webserver on the local host and attempts to "
516 "retrieve a page and copy the result to standard output."
517 msgstr ""
518 "Voici un exemple qui se connecte à un serveur web sur l'hôte local, tente de "
519 "récupérer une page, puis copie le résultat sur la sortie standard."
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable
523 #, fuzzy, no-wrap
524 #| msgid ""
525 #| " BIO *cbio, *out;\n"
526 #| " int len;\n"
527 #| " char tmpbuf[1024];\n"
528 #| " ERR_load_crypto_strings();\n"
529 #| " cbio = BIO_new_connect(\"localhost:http\");\n"
530 #| " out = BIO_new_fp(stdout, BIO_NOCLOSE);\n"
531 #| " if(BIO_do_connect(cbio) <= 0) {\n"
532 #| "\tfprintf(stderr, \"Error connecting to server\\n\");\n"
533 #| "\tERR_print_errors_fp(stderr);\n"
534 #| "\t/* whatever ... */\n"
535 #| "\t}\n"
536 #| " BIO_puts(cbio, \"GET / HTTP/1.0\\n\\n\");\n"
537 #| " for(;;) {\t\n"
538 #| "\tlen = BIO_read(cbio, tmpbuf, 1024);\n"
539 #| "\tif(len <= 0) break;\n"
540 #| "\tBIO_write(out, tmpbuf, len);\n"
541 #| " }\n"
542 #| " BIO_free(cbio);\n"
543 #| " BIO_free(out);\n"
544 #| "\n"
545 msgid ""
546 "\\& BIO *cbio, *out;\n"
547 "\\& int len;\n"
548 "\\& char tmpbuf[1024];\n"
549 "\\&\n"
550 "\\& cbio = BIO_new_connect(\"localhost:http\");\n"
551 "\\& out = BIO_new_fp(stdout, BIO_NOCLOSE);\n"
552 "\\& if (BIO_do_connect(cbio) E<lt>= 0) {\n"
553 "\\& fprintf(stderr, \"Error connecting to server\\en\");\n"
554 "\\& ERR_print_errors_fp(stderr);\n"
555 "\\& exit(1);\n"
556 "\\& }\n"
557 "\\& BIO_puts(cbio, \"GET / HTTP/1.0\\en\\en\");\n"
558 "\\& for (;;) {\n"
559 "\\& len = BIO_read(cbio, tmpbuf, 1024);\n"
560 "\\& if (len E<lt>= 0)\n"
561 "\\& break;\n"
562 "\\& BIO_write(out, tmpbuf, len);\n"
563 "\\& }\n"
564 "\\& BIO_free(cbio);\n"
565 "\\& BIO_free(out);\n"
566 msgstr ""
567 " BIO *cbio, *out;\n"
568 " int len;\n"
569 " char tmpbuf[1024];\n"
570 " ERR_load_crypto_strings();\n"
571 " cbio = BIO_new_connect(\"localhost:http\");\n"
572 " out = BIO_new_fp(stdout, BIO_NOCLOSE);\n"
573 " if(BIO_do_connect(cbio) <= 0) {\n"
574 "\tfprintf(stderr, \"Error connecting to server\\n\");\n"
575 "\tERR_print_errors_fp(stderr);\n"
576 "\t/* whatever ... */\n"
577 "\t}\n"
578 " BIO_puts(cbio, \"GET / HTTP/1.0\\n\\n\");\n"
579 " for(;;) {\t\n"
580 "\tlen = BIO_read(cbio, tmpbuf, 1024);\n"
581 "\tif(len <= 0) break;\n"
582 "\tBIO_write(out, tmpbuf, len);\n"
583 " }\n"
584 " BIO_free(cbio);\n"
585 " BIO_free(out);\n"
586 "\n"
587
588 #. type: IX
589 #: archlinux debian-trixie debian-unstable
590 #, no-wrap
591 msgid "SEE ALSO"
592 msgstr "VOIR AUSSI"
593
594 #. type: Plain text
595 #: archlinux debian-trixie debian-unstable
596 msgid "\\&B<BIO_ADDR>\\|(3), B<BIO_parse_hostserv>\\|(3)"
597 msgstr ""
598
599 #. type: IX
600 #: archlinux debian-trixie debian-unstable
601 #, no-wrap
602 msgid "HISTORY"
603 msgstr "HISTORIQUE"
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable
607 msgid ""
608 "\\&B<BIO_set_conn_int_port()>, B<BIO_get_conn_int_port()>, "
609 "B<BIO_set_conn_ip()>, and B<BIO_get_conn_ip()> were removed in OpenSSL "
610 "1.1.0. Use B<BIO_set_conn_address()> and B<BIO_get_conn_address()> instead."
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux debian-unstable
615 msgid ""
616 "Connect BIOs support B<BIO_gets()>, B<BIO_get0_dgram_bio()>, "
617 "B<BIO_get_sock_type()>, \\&B<BIO_set_sock_type()> were added in OpenSSL 3.2."
618 msgstr ""
619
620 #. type: IX
621 #: archlinux debian-trixie debian-unstable
622 #, no-wrap
623 msgid "COPYRIGHT"
624 msgstr "COPYRIGHT"
625
626 #. type: Plain text
627 #: archlinux debian-unstable
628 msgid "Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved."
629 msgstr ""
630 "Copyright 2000-2025 Les auteurs du projet OpenSSL. Tous droits réservés."
631
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable
634 msgid ""
635 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
636 "this file except in compliance with the License. You can obtain a copy in "
637 "the file LICENSE in the source distribution or at E<lt>https://"
638 "www.openssl.org/source/license.htmlE<gt>."
639 msgstr ""
640 "Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier "
641 "que conformément à la Licence. Vous trouverez une copie dans le fichier "
642 "\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://"
643 "www.openssl.org/source/license.htmlE<gt>."
644
645 #. ========================================================================
646 #. type: IX
647 #: debian-trixie debian-unstable
648 #, no-wrap
649 msgid "BIO_S_CONNECT 3SSL"
650 msgstr ""
651
652 #. type: TH
653 #: debian-trixie
654 #, no-wrap
655 msgid "3.5.6"
656 msgstr "3.5.6"
657
658 #. type: Plain text
659 #: debian-trixie debian-unstable
660 msgid ""
661 "\\&B<BIO_s_connect()> returns the connect BIO method. This is a wrapper "
662 "round the platform's TCP/IP socket connection routines."
663 msgstr ""
664
665 #. type: Plain text
666 #: debian-trixie debian-unstable
667 msgid ""
668 "If the port name is supplied as part of the hostname then this will override "
669 "any value set with B<BIO_set_conn_port()>. This may be undesirable if the "
670 "application does not wish to allow connection to arbitrary ports. This can "
671 "be avoided by checking for the presence of the ':' character in the passed "
672 "hostname and either indicating an error or truncating the string at that "
673 "point."
674 msgstr ""
675
676 #. type: Plain text
677 #: debian-trixie
678 msgid "Connect BIOs support B<BIO_gets()> since OpenSSL 3.2."
679 msgstr ""
680
681 #. type: Plain text
682 #: debian-trixie
683 msgid "Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved."
684 msgstr ""
685 "Copyright 2000-2023 Les auteurs du projet OpenSSL. Tous droits réservés."