Debian Codegraph @

templates/man2/listen.2.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:29+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 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "listen"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-11"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "listen - listen for connections on a socket"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int listen(int >I<sockfd>B<, int >I<backlog>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "B<listen>() marks the socket referred to by I<sockfd> as a passive socket, "
98 "that is, as a socket that will be used to accept incoming connection "
99 "requests using B<accept>(2)."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "The I<sockfd> argument is a file descriptor that refers to a socket of type "
107 "B<SOCK_STREAM> or B<SOCK_SEQPACKET>."
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "The I<backlog> argument defines the maximum length to which the queue of "
115 "pending connections for I<sockfd> may grow. If a connection request arrives "
116 "when the queue is full, the client may receive an error with an indication "
117 "of B<ECONNREFUSED> or, if the underlying protocol supports retransmission, "
118 "the request may be ignored so that a later reattempt at connection succeeds."
119 msgstr ""
120
121 #. type: SH
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "RETURN VALUE"
126 msgstr ""
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 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
133 "to indicate the error."
134 msgstr ""
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "ERRORS"
141 msgstr ""
142
143 #. type: TP
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "B<EADDRINUSE>"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid "Another socket is already listening on the same port."
154 msgstr ""
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 msgid ""
160 "(Internet domain sockets) The socket referred to by I<sockfd> had not "
161 "previously been bound to an address and, upon attempting to bind it to an "
162 "ephemeral port, it was determined that all port numbers in the ephemeral "
163 "port range are currently in use. See the discussion of I</proc/sys/net/ipv4/"
164 "ip_local_port_range> in B<ip>(7)."
165 msgstr ""
166
167 #. type: TP
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "B<EBADF>"
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid "The argument I<sockfd> is not a valid file descriptor."
178 msgstr ""
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<ENOTSOCK>"
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "The file descriptor I<sockfd> does not refer to a socket."
191 msgstr ""
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<EOPNOTSUPP>"
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid "The socket is not of a type that supports the B<listen>() operation."
204 msgstr ""
205
206 #. type: SH
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "STANDARDS"
211 msgstr ""
212
213 #. type: Plain text
214 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
215 #: opensuse-tumbleweed
216 msgid "POSIX.1-2024."
217 msgstr ""
218
219 #. type: SH
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "HISTORY"
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
228 #: opensuse-tumbleweed
229 msgid "4.2BSD, POSIX.1-2001."
230 msgstr ""
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "NOTES"
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "To accept connections, the following steps are performed:"
243 msgstr ""
244
245 #. type: IP
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "(1)"
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid "A socket is created with B<socket>(2)."
256 msgstr ""
257
258 #. type: IP
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "(2)"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "The socket is bound to a local address using B<bind>(2), so that other "
270 "sockets may be B<connect>(2)ed to it."
271 msgstr ""
272
273 #. type: IP
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "(3)"
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "A willingness to accept incoming connections and a queue limit for incoming "
285 "connections are specified with B<listen>()."
286 msgstr ""
287
288 #. type: IP
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "(4)"
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "Connections are accepted with B<accept>(2)."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "The behavior of the I<backlog> argument on TCP sockets changed with Linux "
306 "2.2. Now it specifies the queue length for I<completely> established "
307 "sockets waiting to be accepted, instead of the number of incomplete "
308 "connection requests. The maximum length of the queue for incomplete sockets "
309 "can be set using I</proc/sys/net/ipv4/tcp_max_syn_backlog>. When syncookies "
310 "are enabled there is no logical maximum length and this setting is ignored. "
311 "See B<tcp>(7) for more information."
312 msgstr ""
313
314 #. The following is now rather historic information (MTK, Jun 05)
315 #. Don't rely on this value in portable applications since BSD
316 #. (and some BSD-derived systems) limit the backlog to 5.
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "If the I<backlog> argument is greater than the value in I</proc/sys/net/core/"
322 "somaxconn>, then it is silently capped to that value. Since Linux 5.4, the "
323 "default in this file is 4096; in earlier kernels, the default value is 128. "
324 "Before Linux 2.4.25, this limit was a hard coded value, B<SOMAXCONN>, with "
325 "the value 128."
326 msgstr ""
327
328 #. type: SH
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "EXAMPLES"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid "See B<bind>(2)."
339 msgstr ""
340
341 #. type: SH
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "SEE ALSO"
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid "B<accept>(2), B<bind>(2), B<connect>(2), B<socket>(2), B<socket>(7)"
352 msgstr ""
353
354 #. type: TH
355 #: debian-trixie
356 #, no-wrap
357 msgid "2024-05-02"
358 msgstr ""
359
360 #. type: TH
361 #: debian-trixie
362 #, no-wrap
363 msgid "Linux man-pages 6.9.1"
364 msgstr ""
365
366 #. type: Plain text
367 #: debian-trixie
368 msgid "Standard C library (I<libc>, I<-lc>)"
369 msgstr ""
370
371 #. type: Plain text
372 #: debian-trixie fedora-44 fedora-rawhide
373 msgid "POSIX.1-2008."
374 msgstr ""
375
376 #. type: Plain text
377 #: debian-trixie fedora-44 fedora-rawhide
378 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
379 msgstr ""
380
381 #. type: TH
382 #: fedora-44 fedora-rawhide
383 #, no-wrap
384 msgid "2024-07-23"
385 msgstr ""
386
387 #. type: TH
388 #: fedora-44 fedora-rawhide
389 #, no-wrap
390 msgid "Linux man-pages 6.13"
391 msgstr ""
392
393 #. type: TH
394 #: mageia-cauldron
395 #, no-wrap
396 msgid "Linux man-pages 6.17"
397 msgstr ""
398
399 #. type: TH
400 #: opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "Linux man-pages (unreleased)"
403 msgstr ""