Debian Codegraph @

po/de/man2/bind.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Hanno Wagner <[email protected]>, 1996.
5 # Martin Eberhard Schauer <[email protected]>, 2010-2011.
6 # Mario Blättermann <[email protected]>, 2013, 2016, 2020, 2021, 2022, 2023.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 4.28.0\n"
10 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
11 "PO-Revision-Date: 2025-11-01 14:07+0100\n"
12 "Last-Translator: Mario Blättermann <[email protected]>\n"
13 "Language-Team: German <[email protected]>\n"
14 "Language: de\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "X-Generator: Lokalize 23.04.3\n"
19 "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "bind"
26 msgstr "bind"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8. Februar 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-pages 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "BEZEICHNUNG"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "bind - bind a name to a socket"
52 msgstr "bind - verbindet einen Namen mit einem Socket"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTHEK"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "ÜBERSICHT"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
79 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int bind(int >I<sockfd>B<, const struct sockaddr *>I<addr>B<,>\n"
87 "B< socklen_t >I<addrlen>B<);>\n"
88 msgstr ""
89 "B<int bind(int >I<sockdd>B<, const struct sockaddr *>I<adr>B<,>\n"
90 "B< socklen_t >I<adrlänge>B<);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "BESCHREIBUNG"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "When a socket is created with B<socket>(2), it exists in a name space "
104 "(address family) but has no address assigned to it. B<bind>() assigns the "
105 "address specified by I<addr> to the socket referred to by the file "
106 "descriptor I<sockfd>. I<addrlen> specifies the size, in bytes, of the "
107 "address structure pointed to by I<addr>. Traditionally, this operation is "
108 "called \\[lq]assigning a name to a socket\\[rq]."
109 msgstr ""
110 "Wenn ein Socket mit B<socket>(2) erstellt wird, existiert er in einem "
111 "Namensraum (Adressfamilie), ihm wurde aber noch keine Adresse zugewiesen. "
112 "B<bind>() weist die von I<adr> angegebene Adresse dem Socket zu, auf den der "
113 "Dateideskriptor I<sockdd> weist. I<adrlänge> gibt die Größe der durch I<adr> "
114 "bestimmten Adress-Struktur in Byte an. Traditionell wird diese Operation als "
115 "»Zuweisen eines Namens zu einem Socket« bezeichnet."
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "It is normally necessary to assign a local address using B<bind>() before a "
122 "B<SOCK_STREAM> socket may receive connections (see B<accept>(2))."
123 msgstr ""
124 "Es ist normalerweise notwendig, eine lokale Adresse mittels B<bind>() "
125 "zuzuweisen, bevor ein B<SOCK_STREAM>-Socket Verbindungen annehmen kann "
126 "(siehe B<accept>(2))."
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "The rules used in name binding vary between address families. Consult the "
133 "manual entries in Section 7 for detailed information. For B<AF_INET>, see "
134 "B<ip>(7); for B<AF_INET6>, see B<ipv6>(7); for B<AF_UNIX>, see B<unix>(7); "
135 "for B<AF_APPLETALK>, see B<ddp>(7); for B<AF_PACKET>, see B<packet>(7); for "
136 "B<AF_X25>, see B<x25>(7); and for B<AF_NETLINK>, see B<netlink>(7)."
137 msgstr ""
138 "Die verwendeten Regeln für die Bindung/Zuweisung von Namen variieren "
139 "zwischen den Adressfamilien. Ziehen Sie für detaillierte Informationen die "
140 "Handbuch-Einträge in Abschnitt 7 zu Rate. Für B<AF_INET> siehe B<ip>(7), für "
141 "B<AF_INET6> siehe B<ipv6>(7), für B<AF_UNIX> siehe B<unix>(7), für "
142 "B<AF_APPLETALK> siehe B<ddp>(7), für B<AF_PACKET> siehe B<packet>(7), für "
143 "B<AF_X25> siehe B<x25>(7) und für B<AF_NETLINK> siehe B<netlink>(7)."
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "The actual structure passed for the I<addr> argument will depend on the "
150 "address family. The I<sockaddr> structure is defined as something like:"
151 msgstr ""
152 "Die tatsächlich für das I<adr>-Argument übergebene Struktur wird von der "
153 "Adressfamilie abhängen. Die I<sockaddr>-Struktur ist ungefähr wie folgt "
154 "definiert:"
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid ""
161 "struct sockaddr {\n"
162 " sa_family_t sa_family;\n"
163 " char sa_data[14];\n"
164 "}\n"
165 msgstr ""
166 "struct sockaddr {\n"
167 " sa_family_t sa_family;\n"
168 " char sa_data[14];\n"
169 "}\n"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The only purpose of this structure is to cast the structure pointer passed "
176 "in I<addr> in order to avoid compiler warnings. See EXAMPLES below."
177 msgstr ""
178 "Der einzige Zweck dieser Struktur ist die Typumwandlung des in I<adr> "
179 "übergebenen Zeigers, um Compiler-Warnungen zu vermeiden (siehe die folgenden "
180 "BEISPIELE)."
181
182 #. type: SH
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "RETURN VALUE"
187 msgstr "RÜCKGABEWERT"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
194 "to indicate the error."
195 msgstr ""
196 "Bei Erfolg wird Null zurückgegeben. Bei einem Fehler wird -1 zurückgegeben "
197 "und I<errno> gesetzt, um den Fehler anzuzeigen."
198
199 #. type: SH
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "ERRORS"
204 msgstr "FEHLER"
205
206 #. type: TP
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "B<EACCES>"
211 msgstr "B<EACCES>"
212
213 #. e.g., privileged port in AF_INET domain
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid "The address is protected, and the user is not the superuser."
218 msgstr "Die Adresse ist geschützt und der Benutzer ist nicht der Super-User."
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<EADDRINUSE>"
225 msgstr "B<EADDRINUSE>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "The given address is already in use."
231 msgstr "Die angegebene Adresse wird schon verwendet."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "(Internet domain sockets) The port number was specified as zero in the "
238 "socket address structure, but, upon attempting to bind to an ephemeral port, "
239 "it was determined that all port numbers in the ephemeral port range are "
240 "currently in use. See the discussion of I</proc/sys/net/ipv4/"
241 "ip_local_port_range> B<ip>(7)."
242 msgstr ""
243 "(Internet-Domain-Sockets) Die Portnummer wurde in der Socket-Adressstruktur "
244 "als Null angegeben, aber beim Versuch, einen flüchtigen Port zu binden, "
245 "wurde festgestellt, dass alle Portnummern im flüchtigen Port-Bereich in "
246 "Benutzung sind. Siehe die Erläuterungen zu I</proc/sys/net/ipv4/"
247 "ip_local_port_range> B<ip>(7)."
248
249 #. type: TP
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "B<EBADF>"
254 msgstr "B<EBADF>"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "I<sockfd> is not a valid file descriptor."
260 msgstr "I<sockdd> ist kein zulässiger Dateideskriptor."
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<EINVAL>"
267 msgstr "B<EINVAL>"
268
269 #. This may change in the future: see
270 #. .I linux/unix/sock.c for details.
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid "The socket is already bound to an address."
275 msgstr "Der Socket ist schon an eine Adresse gebunden."
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "I<addrlen> is wrong, or I<addr> is not a valid address for this socket's "
282 "domain."
283 msgstr ""
284 "I<adrlänge> ist falsch oder I<adr> ist keine gültige Adresse für die Domain "
285 "des Sockets."
286
287 #. type: TP
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "B<ENOTSOCK>"
292 msgstr "B<ENOTSOCK>"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid "The file descriptor I<sockfd> does not refer to a socket."
298 msgstr "Der Dateideskriptor I<sockdd> zeigt nicht auf ein Socket."
299
300 #. type: TP
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "B<EADDRNOTAVAIL>"
305 msgstr "B<EADDRNOTAVAIL>"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "A nonexistent interface was requested or the requested address was not local."
312 msgstr ""
313 "Es wurde eine nicht vorhandene Schnittstelle angefordert oder die Adresse "
314 "war keine lokale Adresse."
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "The following errors are specific to UNIX domain (B<AF_UNIX>) sockets:"
320 msgstr ""
321 "Die folgenden Fehlermeldungen sind spezifisch für UNIX Domain Sockets "
322 "(AF_UNIX):"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "Search permission is denied on a component of the path prefix. (See also "
329 "B<path_resolution>(7).)"
330 msgstr ""
331 "Eine Komponente des Pfad-Präfix darf nicht durchsucht werden. (Siehe auch "
332 "B<path_resolution>(7).)"
333
334 #. type: TP
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "B<EFAULT>"
339 msgstr "B<EFAULT>"
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "I<addr> points outside the user's accessible address space."
345 msgstr "I<adr> zeigt aus dem vom Benutzer adressierbaren Adressraum heraus."
346
347 #. type: TP
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "B<ELOOP>"
352 msgstr "B<ELOOP>"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "Too many symbolic links were encountered in resolving I<addr>."
358 msgstr ""
359 "Bei der Auflösung von I<adr> wurden zu viele symbolische Verknüpfungen "
360 "gefunden."
361
362 #. type: TP
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "B<ENAMETOOLONG>"
367 msgstr "B<ENAMETOOLONG>"
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid "I<addr> is too long."
373 msgstr "I<adr> ist zu lang."
374
375 #. type: TP
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "B<ENOENT>"
380 msgstr "B<ENOENT>"
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "A component in the directory prefix of the socket pathname does not exist."
387 msgstr ""
388 "Eine Komponente in dem Verzeichnispräfix des Socket-Pfadnames existiert "
389 "nicht."
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<ENOMEM>"
396 msgstr "B<ENOMEM>"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid "Insufficient kernel memory was available."
402 msgstr "Es war nicht genügend Kernelspeicher verfügbar."
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "B<ENOTDIR>"
409 msgstr "B<ENOTDIR>"
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid "A component of the path prefix is not a directory."
415 msgstr "Eine Komponente des Pfad-Präfixes ist kein Verzeichnis."
416
417 #. type: TP
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "B<EROFS>"
422 msgstr "B<EROFS>"
423
424 # (mes) Müßte das nicht im Original in kursiv (I<inode>) stehen?
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid "The socket inode would reside on a read-only filesystem."
429 msgstr ""
430 "Der Inode des Sockets würde sich auf einem nur lesbaren (read-only) "
431 "Dateisystem befinden."
432
433 #. type: Plain text
434 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
435 #: opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "Other errors may be generated by the underlying protocol modules."
437 msgstr ""
438 "Andere Fehler können von den unterliegenden Protokollmodulen erzeugt werden."
439
440 #. type: SH
441 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
442 #: opensuse-tumbleweed
443 #, no-wrap
444 msgid "VERSIONS"
445 msgstr "VERSIONEN"
446
447 #. type: Plain text
448 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
449 #: opensuse-tumbleweed
450 msgid ""
451 "Portable programs must ensure that I<addr.sun_path> is a null-terminated "
452 "string for B<AF_UNIX> sockets."
453 msgstr ""
454 "Portierbare Programme müssen sicherstellen, dass I<addr.sun_path> für "
455 "B<AF_UNIX>-Sockets eine mit Null abgeschlossene Zeichenkette ist."
456
457 #. type: SH
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 #, no-wrap
461 msgid "STANDARDS"
462 msgstr "STANDARDS"
463
464 #. type: Plain text
465 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
466 #: opensuse-tumbleweed
467 msgid "POSIX.1-2024."
468 msgstr "POSIX.1-2024."
469
470 #. type: SH
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "HISTORY"
475 msgstr "GESCHICHTE"
476
477 #. SVr4 documents an additional
478 #. .B ENOSR
479 #. general error condition, and
480 #. additional
481 #. .B EIO
482 #. and
483 #. .B EISDIR
484 #. UNIX-domain error conditions.
485 #. type: Plain text
486 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
487 #: opensuse-tumbleweed
488 msgid "POSIX.1-2001, SVr4, 4.2BSD."
489 msgstr "POSIX.1-2001, SVr4, 4.2BSD."
490
491 #. type: SH
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 #, no-wrap
495 msgid "BUGS"
496 msgstr "FEHLER"
497
498 #. FIXME Document transparent proxy options
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid "The transparent proxy options are not described."
503 msgstr "Die transparenten Proxy-Optionen sind nicht beschrieben."
504
505 #. type: SH
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "EXAMPLES"
510 msgstr "BEISPIELE"
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid ""
516 "An example of the use of B<bind>() with Internet domain sockets can be "
517 "found in B<getaddrinfo>(3)."
518 msgstr ""
519 "Ein Beispiel für die Verwendung von B<bind>() mit Internet Domain Sockets "
520 "finden Sie in B<getaddrinfo>(3)."
521
522 #. listen.7 refers to this example.
523 #. accept.7 refers to this example.
524 #. unix.7 refers to this example.
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "The following example shows how to bind a stream socket in the UNIX "
530 "(B<AF_UNIX>) domain, and accept connections:"
531 msgstr ""
532 "Das folgende Beispiel zeigt, wie ein Stream Socket in die UNIX-Domain "
533 "(B<AF_UNIX>) eingebunden wird und Verbindungen annimmt:"
534
535 #. type: Plain text
536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
537 #: opensuse-tumbleweed
538 #, no-wrap
539 msgid ""
540 "#include E<lt>err.hE<gt>\n"
541 "#include E<lt>stdlib.hE<gt>\n"
542 "#include E<lt>string.hE<gt>\n"
543 "#include E<lt>sys/socket.hE<gt>\n"
544 "#include E<lt>sys/un.hE<gt>\n"
545 "#include E<lt>unistd.hE<gt>\n"
546 "\\&\n"
547 "#define MY_SOCK_PATH \"/somepath\"\n"
548 "#define LISTEN_BACKLOG 50\n"
549 "\\&\n"
550 "int\n"
551 "main(void)\n"
552 "{\n"
553 " int sfd, cfd;\n"
554 " socklen_t peer_addr_size;\n"
555 " struct sockaddr_un my_addr, peer_addr;\n"
556 "\\&\n"
557 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
558 " if (sfd == -1)\n"
559 " err(EXIT_FAILURE, \"socket\");\n"
560 "\\&\n"
561 " memset(&my_addr, 0, sizeof(my_addr));\n"
562 " my_addr.sun_family = AF_UNIX;\n"
563 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
564 " sizeof(my_addr.sun_path) - 1);\n"
565 "\\&\n"
566 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
567 " sizeof(my_addr)) == -1)\n"
568 " err(EXIT_FAILURE, \"bind\");\n"
569 "\\&\n"
570 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
571 " err(EXIT_FAILURE, \"listen\");\n"
572 "\\&\n"
573 " /* Now we can accept incoming connections one\n"
574 " at a time using accept(2). */\n"
575 "\\&\n"
576 " peer_addr_size = sizeof(peer_addr);\n"
577 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
578 " &peer_addr_size);\n"
579 " if (cfd == -1)\n"
580 " err(EXIT_FAILURE, \"accept\");\n"
581 "\\&\n"
582 " /* Code to deal with incoming connection(s)... */\n"
583 "\\&\n"
584 " if (close(sfd) == -1)\n"
585 " err(EXIT_FAILURE, \"close\");\n"
586 "\\&\n"
587 " if (unlink(MY_SOCK_PATH) == -1)\n"
588 " err(EXIT_FAILURE, \"unlink\");\n"
589 "}\n"
590 msgstr ""
591 "#include E<lt>err.hE<gt>\n"
592 "#include E<lt>stdlib.hE<gt>\n"
593 "#include E<lt>string.hE<gt>\n"
594 "#include E<lt>sys/socket.hE<gt>\n"
595 "#include E<lt>sys/un.hE<gt>\n"
596 "#include E<lt>unistd.hE<gt>\n"
597 "\\&\n"
598 "#define MY_SOCK_PATH \"/ein_Pfad\"\n"
599 "#define LISTEN_BACKLOG 50\n"
600 "\\&\n"
601 "int\n"
602 "main(void)\n"
603 "{\n"
604 " int sfd, cfd;\n"
605 " socklen_t peer_addr_size;\n"
606 " struct sockaddr_un my_addr, peer_addr;\n"
607 "\\&\n"
608 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
609 " if (sfd == -1)\n"
610 " err(EXIT_FAILURE, \"socket\");\n"
611 "\\&\n"
612 " memset(&my_addr, 0, sizeof(my_addr));\n"
613 " my_addr.sun_family = AF_UNIX;\n"
614 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
615 " sizeof(my_addr.sun_path) - 1);\n"
616 "\\&\n"
617 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
618 " sizeof(my_addr)) == -1)\n"
619 " err(EXIT_FAILURE, \"bind\");\n"
620 "\\&\n"
621 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
622 " err(EXIT_FAILURE, \"listen\");\n"
623 "\\&\n"
624 " /* Nun können wir eingehende Verbindungen\n"
625 " (nicht gleichzeitig) mittels accept(2)\n"
626 " annehmen. */\n"
627 "\\&\n"
628 " peer_addr_size = sizeof(peer_addr);\n"
629 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
630 " &peer_addr_size);\n"
631 " if (cfd == -1)\n"
632 " err(EXIT_FAILURE, \"accept\");\n"
633 "\\&\n"
634 " /* Code für den Umgang mit eingehenden Verbindungen … */\n"
635 "\\&\n"
636 " if (close(sfd) == -1)\n"
637 " err(EXIT_FAILURE, \"close\");\n"
638 "\\&\n"
639 " if (unlink(MY_SOCK_PATH) == -1)\n"
640 " err(EXIT_FAILURE, \"unlink\");\n"
641 "}\n"
642
643 #. SRC END
644 #. type: SH
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "SEE ALSO"
649 msgstr "SIEHE AUCH"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "B<accept>(2), B<connect>(2), B<getsockname>(2), B<listen>(2), B<socket>(2), "
656 "B<getaddrinfo>(3), B<getifaddrs>(3), B<ip>(7), B<ipv6>(7), "
657 "B<path_resolution>(7), B<socket>(7), B<unix>(7)"
658 msgstr ""
659 "B<accept>(2), B<connect>(2), B<getsockname>(2), B<listen>(2), B<socket>(2), "
660 "B<getaddrinfo>(3), B<getifaddrs>(3), B<ip>(7), B<ipv6>(7), "
661 "B<path_resolution>(7), B<socket>(7), B<unix>(7)"
662
663 #. type: TH
664 #: debian-trixie
665 #, no-wrap
666 msgid "2024-06-15"
667 msgstr "15. Juni 2024"
668
669 #. type: TH
670 #: debian-trixie
671 #, no-wrap
672 msgid "Linux man-pages 6.9.1"
673 msgstr "Linux man-pages 6.9.1"
674
675 #. type: Plain text
676 #: debian-trixie
677 msgid "Standard C library (I<libc>, I<-lc>)"
678 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
679
680 #. type: Plain text
681 #: debian-trixie fedora-44 fedora-rawhide
682 msgid "POSIX.1-2008."
683 msgstr "POSIX.1-2008."
684
685 #. SVr4 documents an additional
686 #. .B ENOSR
687 #. general error condition, and
688 #. additional
689 #. .B EIO
690 #. and
691 #. .B EISDIR
692 #. UNIX-domain error conditions.
693 #. type: Plain text
694 #: debian-trixie fedora-44 fedora-rawhide
695 msgid "POSIX.1-2001, SVr4, 4.4BSD (B<bind>() first appeared in 4.2BSD)."
696 msgstr "POSIX.1-2001, SVr4, 4.4BSD (B<bind>() erschien zuerst in 4.2BSD)."
697
698 #. type: Plain text
699 #: debian-trixie fedora-44 fedora-rawhide
700 #, no-wrap
701 msgid ""
702 "#include E<lt>stdio.hE<gt>\n"
703 "#include E<lt>stdlib.hE<gt>\n"
704 "#include E<lt>string.hE<gt>\n"
705 "#include E<lt>sys/socket.hE<gt>\n"
706 "#include E<lt>sys/un.hE<gt>\n"
707 "#include E<lt>unistd.hE<gt>\n"
708 "\\&\n"
709 "#define MY_SOCK_PATH \"/somepath\"\n"
710 "#define LISTEN_BACKLOG 50\n"
711 "\\&\n"
712 "#define handle_error(msg) \\[rs]\n"
713 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
714 "\\&\n"
715 "int\n"
716 "main(void)\n"
717 "{\n"
718 " int sfd, cfd;\n"
719 " socklen_t peer_addr_size;\n"
720 " struct sockaddr_un my_addr, peer_addr;\n"
721 "\\&\n"
722 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
723 " if (sfd == -1)\n"
724 " handle_error(\"socket\");\n"
725 "\\&\n"
726 " memset(&my_addr, 0, sizeof(my_addr));\n"
727 " my_addr.sun_family = AF_UNIX;\n"
728 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
729 " sizeof(my_addr.sun_path) - 1);\n"
730 "\\&\n"
731 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
732 " sizeof(my_addr)) == -1)\n"
733 " handle_error(\"bind\");\n"
734 "\\&\n"
735 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
736 " handle_error(\"listen\");\n"
737 "\\&\n"
738 " /* Now we can accept incoming connections one\n"
739 " at a time using accept(2). */\n"
740 "\\&\n"
741 " peer_addr_size = sizeof(peer_addr);\n"
742 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
743 " &peer_addr_size);\n"
744 " if (cfd == -1)\n"
745 " handle_error(\"accept\");\n"
746 "\\&\n"
747 " /* Code to deal with incoming connection(s)... */\n"
748 "\\&\n"
749 " if (close(sfd) == -1)\n"
750 " handle_error(\"close\");\n"
751 "\\&\n"
752 " if (unlink(MY_SOCK_PATH) == -1)\n"
753 " handle_error(\"unlink\");\n"
754 "}\n"
755 msgstr ""
756 "#include E<lt>stdio.hE<gt>\n"
757 "#include E<lt>stdlib.hE<gt>\n"
758 "#include E<lt>string.hE<gt>\n"
759 "#include E<lt>sys/socket.hE<gt>\n"
760 "#include E<lt>sys/un.hE<gt>\n"
761 "#include E<lt>unistd.hE<gt>\n"
762 "\\&\n"
763 "#define MY_SOCK_PATH \"/ein_Pfad\"\n"
764 "#define LISTEN_BACKLOG 50\n"
765 "\\&\n"
766 "#define handle_error(msg) \\[rs]\n"
767 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
768 "\\&\n"
769 "int\n"
770 "main(void)\n"
771 "{\n"
772 " int sfd, cfd;\n"
773 " socklen_t peer_addr_size;\n"
774 " struct sockaddr_un my_addr, peer_addr;\n"
775 "\\&\n"
776 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
777 " if (sfd == -1)\n"
778 " handle_error(\"socket\");\n"
779 "\\&\n"
780 " memset(&my_addr, 0, sizeof(my_addr));\n"
781 " my_addr.sun_family = AF_UNIX;\n"
782 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
783 " sizeof(my_addr.sun_path) - 1);\n"
784 "\\&\n"
785 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
786 " sizeof(my_addr)) == -1)\n"
787 " handle_error(\"bind\");\n"
788 "\\&\n"
789 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
790 " handle_error(\"listen\");\n"
791 "\\&\n"
792 " /* Nun können wir eingehende Verbindungen\n"
793 " (nicht gleichzeitig) mittels accept(2)\n"
794 " annehmen. */\n"
795 "\\&\n"
796 " peer_addr_size = sizeof(peer_addr);\n"
797 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
798 " &peer_addr_size);\n"
799 " if (cfd == -1)\n"
800 " handle_error(\"accept\");\n"
801 "\\&\n"
802 " /* Code für den Umgang mit eingehenden Verbindungen … */\n"
803 "\\&\n"
804 " if (close(sfd) == -1)\n"
805 " handle_error(\"close\");\n"
806 "\\&\n"
807 " if (unlink(MY_SOCK_PATH) == -1)\n"
808 " handle_error(\"unlink\");\n"
809 "}\n"
810
811 #. type: TH
812 #: fedora-44 fedora-rawhide
813 #, no-wrap
814 msgid "2024-11-06"
815 msgstr "6. November 2024"
816
817 #. type: TH
818 #: fedora-44 fedora-rawhide
819 #, no-wrap
820 msgid "Linux man-pages 6.13"
821 msgstr "Linux man-pages 6.13"
822
823 #. type: TH
824 #: mageia-cauldron
825 #, no-wrap
826 msgid "Linux man-pages 6.17"
827 msgstr "Linux man-pages 6.17"
828
829 #. type: TH
830 #: opensuse-leap-16-1 opensuse-tumbleweed
831 #, no-wrap
832 msgid "Linux man-pages (unreleased)"
833 msgstr "Linux man-pages (unveröffentlicht)"