Debian Codegraph @

templates/man3/BIO_s_connect.3ssl.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # #-#-#-#-# archlinux: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: BIO_s_connect.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "BIO_S_CONNECT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "BIO_S_CONNECT"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid ""
78 "BIO_s_connect, BIO_new_connect, BIO_set_conn_hostname, BIO_set_conn_port, "
79 "BIO_set_conn_address, BIO_set_conn_ip_family, BIO_get_conn_hostname, "
80 "BIO_get_conn_port, BIO_get_conn_address, BIO_get_conn_ip_family, "
81 "BIO_set_nbio, BIO_set_sock_type, BIO_get_sock_type, BIO_get0_dgram_bio, "
82 "BIO_do_connect - connect BIO"
83 msgstr ""
84
85 #. type: IX
86 #: archlinux debian-trixie debian-unstable
87 #, no-wrap
88 msgid "SYNOPSIS"
89 msgstr ""
90
91 #. type: IX
92 #: archlinux debian-trixie debian-unstable
93 #, no-wrap
94 msgid "Header"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable
99 #, no-wrap
100 msgid ""
101 "\\& #include E<lt>openssl/bio.hE<gt>\n"
102 "\\&\n"
103 "\\& const BIO_METHOD *BIO_s_connect(void);\n"
104 "\\&\n"
105 "\\& BIO *BIO_new_connect(const char *name);\n"
106 "\\&\n"
107 "\\& long BIO_set_conn_hostname(BIO *b, char *name);\n"
108 "\\& long BIO_set_conn_port(BIO *b, char *port);\n"
109 "\\& long BIO_set_conn_address(BIO *b, BIO_ADDR *addr);\n"
110 "\\& long BIO_set_conn_ip_family(BIO *b, long family);\n"
111 "\\& const char *BIO_get_conn_hostname(BIO *b);\n"
112 "\\& const char *BIO_get_conn_port(BIO *b);\n"
113 "\\& const BIO_ADDR *BIO_get_conn_address(BIO *b);\n"
114 "\\& const long BIO_get_conn_ip_family(BIO *b);\n"
115 "\\&\n"
116 "\\& long BIO_set_nbio(BIO *b, long n);\n"
117 "\\&\n"
118 "\\& int BIO_set_sock_type(BIO *b, int sock_type);\n"
119 "\\& int BIO_get_sock_type(BIO *b);\n"
120 "\\& int BIO_get0_dgram_bio(BIO *B, BIO **dgram_bio);\n"
121 "\\&\n"
122 "\\& long BIO_do_connect(BIO *b);\n"
123 msgstr ""
124
125 #. type: IX
126 #: archlinux debian-trixie debian-unstable
127 #, no-wrap
128 msgid "DESCRIPTION"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux
133 msgid ""
134 "\\&B<BIO_s_connect()> returns the connect BIO method. This is a wrapper "
135 "round the platform\\*(Aqs TCP/IP socket connection routines."
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable
140 msgid ""
141 "Using connect BIOs, TCP/IP connections can be made and data transferred "
142 "using only BIO routines. In this way any platform specific operations are "
143 "hidden by the BIO abstraction."
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable
148 msgid ""
149 "Read and write operations on a connect BIO will perform I/O on the "
150 "underlying connection. If no connection is established and the port and "
151 "hostname (see below) is set up properly then a connection is established "
152 "first."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable
157 msgid "Connect BIOs support B<BIO_puts()> and B<BIO_gets()>."
158 msgstr ""
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable
162 msgid ""
163 "If the close flag is set on a connect BIO then any active connection is "
164 "shutdown and the socket closed when the BIO is freed."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable
169 msgid ""
170 "Calling B<BIO_reset()> on a connect BIO will close any active connection and "
171 "reset the BIO into a state where it can connect to the same host again."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable
176 msgid ""
177 "\\&B<BIO_new_connect()> combines B<BIO_new()> and B<BIO_set_conn_hostname()> "
178 "into a single call: that is it creates a new connect BIO with hostname "
179 "B<name>."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "\\&B<BIO_set_conn_hostname()> uses the string B<name> to set the hostname. "
186 "The hostname can be an IP address; if the address is an IPv6 one, it must be "
187 "enclosed in brackets CW<\\*(C`[\\*(C'> and CW<\\*(C`]\\*(C'>. The hostname "
188 "can also include the port in the form hostname:port; see "
189 "B<BIO_parse_hostserv>\\|(3) and B<BIO_set_conn_port()> for details."
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable
194 msgid ""
195 "\\&B<BIO_set_conn_port()> sets the port to B<port>. B<port> can be the "
196 "numerical form or a service string such as \"http\", which will be mapped to "
197 "a port number using the system function B<getservbyname()>."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable
202 msgid ""
203 "\\&B<BIO_set_conn_address()> sets the address and port information using a "
204 "B<BIO_ADDR>\\|(3ssl)."
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable
209 msgid "\\&B<BIO_set_conn_ip_family()> sets the IP family."
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable
214 msgid ""
215 "\\&B<BIO_get_conn_hostname()> returns the hostname of the connect BIO or "
216 "NULL if the BIO is initialized but no hostname is set. This return value is "
217 "an internal pointer which should not be modified."
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable
222 msgid ""
223 "\\&B<BIO_get_conn_port()> returns the port as a string. This return value "
224 "is an internal pointer which should not be modified."
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable
229 msgid ""
230 "\\&B<BIO_get_conn_address()> returns the address information as a BIO_ADDR. "
231 "This return value is an internal pointer which should not be modified."
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable
236 msgid ""
237 "\\&B<BIO_get_conn_ip_family()> returns the IP family of the connect BIO."
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable
242 msgid ""
243 "\\&B<BIO_set_nbio()> sets the non blocking I/O flag to B<n>. If B<n> is zero "
244 "then blocking I/O is set. If B<n> is 1 then non blocking I/O is set. "
245 "Blocking I/O is the default. The call to B<BIO_set_nbio()> should be made "
246 "before the connection is established because non blocking I/O is set during "
247 "the connect process."
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable
252 msgid ""
253 "\\&B<BIO_do_connect()> attempts to connect the supplied BIO. This performs "
254 "an SSL/TLS handshake as far as supported by the BIO. For non-SSL BIOs the "
255 "connection is done typically at TCP level. If domain name resolution yields "
256 "multiple IP addresses all of them are tried after B<connect()> failures. "
257 "The function returns 1 if the connection was established successfully. A "
258 "zero or negative value is returned if the connection could not be "
259 "established. The call B<BIO_should_retry()> should be used for non blocking "
260 "connect BIOs to determine if the call should be retried. If a connection "
261 "has already been established this call has no effect."
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable
266 msgid ""
267 "\\&B<BIO_set_sock_type()> can be used to set a socket type value as would be "
268 "passed in a call to B<socket>\\|(2). The only currently supported values are "
269 "B<SOCK_STREAM> (the default) and B<SOCK_DGRAM>. If B<SOCK_DGRAM> is "
270 "configured, the connection created is a UDP datagram socket handled via "
271 "B<BIO_s_datagram>\\|(3). I/O calls such as B<BIO_read>\\|(3) and "
272 "B<BIO_write>\\|(3) are forwarded transparently to an internal "
273 "B<BIO_s_datagram>\\|(3) instance. The created B<BIO_s_datagram>\\|(3) "
274 "instance can be retrieved using B<BIO_get0_dgram_bio()> if desired, which "
275 "writes a pointer to the B<BIO_s_datagram>\\|(3) instance to I<*dgram_bio>. "
276 "The lifetime of the internal B<BIO_s_datagram>\\|(3) is managed by "
277 "B<BIO_s_connect()> and does not need to be freed by the caller."
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable
282 msgid ""
283 "\\&B<BIO_get_sock_type()> retrieves the value set using "
284 "B<BIO_set_sock_type()>."
285 msgstr ""
286
287 #. type: IX
288 #: archlinux debian-trixie debian-unstable
289 #, no-wrap
290 msgid "NOTES"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable
295 msgid ""
296 "If blocking I/O is set then a non positive return value from any I/O call is "
297 "caused by an error condition, although a zero return will normally mean that "
298 "the connection was closed."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux
303 msgid ""
304 "If the port name is supplied as part of the hostname then this will override "
305 "any value set with B<BIO_set_conn_port()>. This may be undesirable if the "
306 "application does not wish to allow connection to arbitrary ports. This can "
307 "be avoided by checking for the presence of the \\*(Aq:\\*(Aq character in "
308 "the passed hostname and either indicating an error or truncating the string "
309 "at that point."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable
314 msgid ""
315 "The values returned by B<BIO_get_conn_hostname()>, "
316 "B<BIO_get_conn_address()>, and B<BIO_get_conn_port()> are updated when a "
317 "connection attempt is made. Before any connection attempt the values "
318 "returned are those set by the application itself."
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable
323 msgid ""
324 "Applications do not have to call B<BIO_do_connect()> but may wish to do so "
325 "to separate the connection process from other I/O processing."
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable
330 msgid ""
331 "If non blocking I/O is set then retries will be requested as appropriate."
332 msgstr ""
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable
336 msgid ""
337 "It addition to B<BIO_should_read()> and B<BIO_should_write()> it is also "
338 "possible for B<BIO_should_io_special()> to be true during the initial "
339 "connection process with the reason BIO_RR_CONNECT. If this is returned then "
340 "this is an indication that a connection attempt would block, the application "
341 "should then take appropriate action to wait until the underlying socket has "
342 "connected and retry the call."
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable
347 msgid ""
348 "\\&B<BIO_set_conn_hostname()>, B<BIO_set_conn_port()>, "
349 "B<BIO_get_conn_hostname()>, \\&B<BIO_set_conn_address()>, "
350 "B<BIO_get_conn_port()>, B<BIO_get_conn_address()>, "
351 "\\&B<BIO_set_conn_ip_family()>, B<BIO_get_conn_ip_family()>, "
352 "\\&B<BIO_set_nbio()>, and B<BIO_do_connect()> are macros."
353 msgstr ""
354
355 #. type: IX
356 #: archlinux debian-trixie debian-unstable
357 #, no-wrap
358 msgid "RETURN VALUES"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable
363 msgid "\\&B<BIO_s_connect()> returns the connect BIO method."
364 msgstr ""
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable
368 msgid ""
369 "\\&B<BIO_set_conn_address()>, B<BIO_set_conn_port()>, and "
370 "B<BIO_set_conn_ip_family()> return 1 or E<lt>=0 if an error occurs."
371 msgstr ""
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable
375 msgid ""
376 "\\&B<BIO_set_conn_hostname()> returns 1 on success and E<lt>=0 on failure."
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable
381 msgid ""
382 "\\&B<BIO_get_conn_address()> returns the address information or NULL if none "
383 "was set."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable
388 msgid ""
389 "\\&B<BIO_get_conn_hostname()> returns the connected hostname or NULL if none "
390 "was set."
391 msgstr ""
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable
395 msgid ""
396 "\\&B<BIO_get_conn_ip_family()> returns the address family or -1 if none was "
397 "set."
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable
402 msgid ""
403 "\\&B<BIO_get_conn_port()> returns a string representing the connected port "
404 "or NULL if not set."
405 msgstr ""
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable
409 msgid "\\&B<BIO_set_nbio()> returns 1 or E<lt>=0 if an error occurs."
410 msgstr ""
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable
414 msgid ""
415 "\\&B<BIO_do_connect()> returns 1 if the connection was successfully "
416 "established and E<lt>=0 if the connection failed."
417 msgstr ""
418
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable
421 msgid "\\&B<BIO_set_sock_type()> returns 1 on success or 0 on failure."
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable
426 msgid ""
427 "\\&B<BIO_get_sock_type()> returns a socket type or 0 if the call is not "
428 "supported."
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable
433 msgid "\\&B<BIO_get0_dgram_bio()> returns 1 on success or 0 on failure."
434 msgstr ""
435
436 #. type: IX
437 #: archlinux debian-trixie debian-unstable
438 #, no-wrap
439 msgid "EXAMPLES"
440 msgstr ""
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable
444 msgid ""
445 "This is example connects to a webserver on the local host and attempts to "
446 "retrieve a page and copy the result to standard output."
447 msgstr ""
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable
451 #, no-wrap
452 msgid ""
453 "\\& BIO *cbio, *out;\n"
454 "\\& int len;\n"
455 "\\& char tmpbuf[1024];\n"
456 "\\&\n"
457 "\\& cbio = BIO_new_connect(\"localhost:http\");\n"
458 "\\& out = BIO_new_fp(stdout, BIO_NOCLOSE);\n"
459 "\\& if (BIO_do_connect(cbio) E<lt>= 0) {\n"
460 "\\& fprintf(stderr, \"Error connecting to server\\en\");\n"
461 "\\& ERR_print_errors_fp(stderr);\n"
462 "\\& exit(1);\n"
463 "\\& }\n"
464 "\\& BIO_puts(cbio, \"GET / HTTP/1.0\\en\\en\");\n"
465 "\\& for (;;) {\n"
466 "\\& len = BIO_read(cbio, tmpbuf, 1024);\n"
467 "\\& if (len E<lt>= 0)\n"
468 "\\& break;\n"
469 "\\& BIO_write(out, tmpbuf, len);\n"
470 "\\& }\n"
471 "\\& BIO_free(cbio);\n"
472 "\\& BIO_free(out);\n"
473 msgstr ""
474
475 #. type: IX
476 #: archlinux debian-trixie debian-unstable
477 #, no-wrap
478 msgid "SEE ALSO"
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable
483 msgid "\\&B<BIO_ADDR>\\|(3), B<BIO_parse_hostserv>\\|(3)"
484 msgstr ""
485
486 #. type: IX
487 #: archlinux debian-trixie debian-unstable
488 #, no-wrap
489 msgid "HISTORY"
490 msgstr ""
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable
494 msgid ""
495 "\\&B<BIO_set_conn_int_port()>, B<BIO_get_conn_int_port()>, "
496 "B<BIO_set_conn_ip()>, and B<BIO_get_conn_ip()> were removed in OpenSSL "
497 "1.1.0. Use B<BIO_set_conn_address()> and B<BIO_get_conn_address()> instead."
498 msgstr ""
499
500 #. type: Plain text
501 #: archlinux debian-unstable
502 msgid ""
503 "Connect BIOs support B<BIO_gets()>, B<BIO_get0_dgram_bio()>, "
504 "B<BIO_get_sock_type()>, \\&B<BIO_set_sock_type()> were added in OpenSSL 3.2."
505 msgstr ""
506
507 #. type: IX
508 #: archlinux debian-trixie debian-unstable
509 #, no-wrap
510 msgid "COPYRIGHT"
511 msgstr ""
512
513 #. type: Plain text
514 #: archlinux debian-unstable
515 msgid "Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved."
516 msgstr ""
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable
520 msgid ""
521 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
522 "this file except in compliance with the License. You can obtain a copy in "
523 "the file LICENSE in the source distribution or at E<lt>https://"
524 "www.openssl.org/source/license.htmlE<gt>."
525 msgstr ""
526
527 #. ========================================================================
528 #. type: IX
529 #: debian-trixie debian-unstable
530 #, no-wrap
531 msgid "BIO_S_CONNECT 3SSL"
532 msgstr ""
533
534 #. type: TH
535 #: debian-trixie
536 #, no-wrap
537 msgid "3.5.6"
538 msgstr ""
539
540 #. type: Plain text
541 #: debian-trixie debian-unstable
542 msgid ""
543 "\\&B<BIO_s_connect()> returns the connect BIO method. This is a wrapper "
544 "round the platform's TCP/IP socket connection routines."
545 msgstr ""
546
547 #. type: Plain text
548 #: debian-trixie debian-unstable
549 msgid ""
550 "If the port name is supplied as part of the hostname then this will override "
551 "any value set with B<BIO_set_conn_port()>. This may be undesirable if the "
552 "application does not wish to allow connection to arbitrary ports. This can "
553 "be avoided by checking for the presence of the ':' character in the passed "
554 "hostname and either indicating an error or truncating the string at that "
555 "point."
556 msgstr ""
557
558 #. type: Plain text
559 #: debian-trixie
560 msgid "Connect BIOs support B<BIO_gets()> since OpenSSL 3.2."
561 msgstr ""
562
563 #. type: Plain text
564 #: debian-trixie
565 msgid "Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved."
566 msgstr ""