Debian Codegraph @

po/ar/man2/bind.2.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
9 "PO-Revision-Date: 2026-05-17 19:29+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "bind"
25 msgstr "bind"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "bind - bind a name to a socket"
51 msgstr "bind - ربط اسم بمقبس"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int bind(int >I<sockfd>B<, const struct sockaddr *>I<addr>B<,>\n"
86 "B< socklen_t >I<addrlen>B<);>\n"
87 msgstr ""
88 "B<int bind(int >I<sockfd>B<, const struct sockaddr *>I<addr>B<,>\n"
89 "B< socklen_t >I<addrlen>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "الوصف"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "When a socket is created with B<socket>(2), it exists in a name space "
103 "(address family) but has no address assigned to it. B<bind>() assigns the "
104 "address specified by I<addr> to the socket referred to by the file "
105 "descriptor I<sockfd>. I<addrlen> specifies the size, in bytes, of the "
106 "address structure pointed to by I<addr>. Traditionally, this operation is "
107 "called \\[lq]assigning a name to a socket\\[rq]."
108 msgstr ""
109 "عند إنشاء مقبس باستخدام B<socket>(2)، فإنه يوجد في فضاء أسماء (عائلة عناوين) "
110 "ولكن لا يوجد عنوان مخصص له. تقوم B<bind>() بتعيين العنوان المحدد بواسطة "
111 "I<addr> للمقبس المشار إليه بواصف الملف I<sockfd>. يحدد I<addrlen> الحجم "
112 "بالبايت لبنية العنوان المشار إليها بواسطة I<addr>. تقليدياً، تسمى هذه العملية "
113 "\\[lq]تعيين اسم لمقبس\\[rq]."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "It is normally necessary to assign a local address using B<bind>() before a "
120 "B<SOCK_STREAM> socket may receive connections (see B<accept>(2))."
121 msgstr ""
122 "من الضروري عادةً تعيين عنوان محلي باستخدام B<bind>() قبل أن يتمكن مقبس "
123 "B<SOCK_STREAM> من استقبال الاتصالات (انظر B<accept>(2))."
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "The rules used in name binding vary between address families. Consult the "
130 "manual entries in Section 7 for detailed information. For B<AF_INET>, see "
131 "B<ip>(7); for B<AF_INET6>, see B<ipv6>(7); for B<AF_UNIX>, see B<unix>(7); "
132 "for B<AF_APPLETALK>, see B<ddp>(7); for B<AF_PACKET>, see B<packet>(7); for "
133 "B<AF_X25>, see B<x25>(7); and for B<AF_NETLINK>, see B<netlink>(7)."
134 msgstr ""
135 "تختلف القواعد المستخدمة في ربط الأسماء بين عائلات العناوين. راجع الإدخالات "
136 "اليدوية في القسم 7 للحصول على معلومات مفصلة. بالنسبة لـ B<AF_INET>، انظر "
137 "B<ip>(7)؛ لـ B<AF_INET6>، انظر B<ipv6>(7)؛ لـ B<AF_UNIX>، انظر B<unix>(7)؛ "
138 "لـ B<AF_APPLETALK>، انظر B<ddp>(7)؛ لـ B<AF_PACKET>، انظر B<packet>(7)؛ لـ "
139 "B<AF_X25>، انظر B<x25>(7)؛ ولـ B<AF_NETLINK>، انظر B<netlink>(7)."
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "The actual structure passed for the I<addr> argument will depend on the "
146 "address family. The I<sockaddr> structure is defined as something like:"
147 msgstr ""
148 "ستعتمد البنية الفعلية الممررة لوسيطة I<addr> على عائلة العنوان. تُعرف بنية "
149 "I<sockaddr> بشيء مثل:"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid ""
156 "struct sockaddr {\n"
157 " sa_family_t sa_family;\n"
158 " char sa_data[14];\n"
159 "}\n"
160 msgstr ""
161 "struct sockaddr {\n"
162 " sa_family_t sa_family;\n"
163 " char sa_data[14];\n"
164 "}\n"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "The only purpose of this structure is to cast the structure pointer passed "
171 "in I<addr> in order to avoid compiler warnings. See EXAMPLES below."
172 msgstr ""
173 "الغرض الوحيد من هذه البنية هو تحويل مؤشر البنية الممرر في I<addr> لتجنب "
174 "تحذيرات المترجم. انظر الأمثلة أدناه."
175
176 #. type: SH
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "RETURN VALUE"
181 msgstr "قيمة الإرجاع"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
188 "to indicate the error."
189 msgstr ""
190 "عند النجاح، يُعاد الصفر. وعند حدوث خطأ، يُعاد الرقم -1، ويُضبط I<errno> للإشارة "
191 "إلى الخطأ."
192
193 #. type: SH
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "ERRORS"
198 msgstr "الأخطاء"
199
200 #. type: TP
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "B<EACCES>"
205 msgstr "B<EACCES>"
206
207 #. e.g., privileged port in AF_INET domain
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid "The address is protected, and the user is not the superuser."
212 msgstr "العنوان محمي، والمستخدم ليس المستخدم الفائق."
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "B<EADDRINUSE>"
219 msgstr "B<EADDRINUSE>"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "The given address is already in use."
225 msgstr "العنوان المعطى قيد الاستخدام بالفعل."
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 ""
231 "(Internet domain sockets) The port number was specified as zero in the "
232 "socket address structure, but, upon attempting to bind to an ephemeral port, "
233 "it was determined that all port numbers in the ephemeral port range are "
234 "currently in use. See the discussion of I</proc/sys/net/ipv4/"
235 "ip_local_port_range> B<ip>(7)."
236 msgstr ""
237 "(مقابس نطاق الإنترنت) تم تحديد رقم المنفذ كصفر في بنية عنوان المقبس، ولكن "
238 "عند محاولة الربط بمنفذ مؤقت، تبين أن جميع أرقام المنافذ في نطاق المنافذ "
239 "المؤقتة قيد الاستخدام حالياً. انظر مناقشة I</proc/sys/net/ipv4/"
240 "ip_local_port_range> B<ip>(7)."
241
242 #. type: TP
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "B<EBADF>"
247 msgstr "B<EBADF>"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid "I<sockfd> is not a valid file descriptor."
253 msgstr "I<sockfd> ليس واصف ملف صالحاً."
254
255 #. type: TP
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "B<EINVAL>"
260 msgstr "B<EINVAL>"
261
262 #. This may change in the future: see
263 #. .I linux/unix/sock.c for details.
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "The socket is already bound to an address."
268 msgstr "المقبس مربوط بالفعل بعنوان."
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "I<addrlen> is wrong, or I<addr> is not a valid address for this socket's "
275 "domain."
276 msgstr "I<addrlen> خاطئ، أو I<addr> ليس عنواناً صالحاً لنطاق هذا المقبس."
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<ENOTSOCK>"
283 msgstr "B<ENOTSOCK>"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "The file descriptor I<sockfd> does not refer to a socket."
289 msgstr "واصف الملف I<sockfd> لا يشير إلى مقبس."
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<EADDRNOTAVAIL>"
296 msgstr "B<EADDRNOTAVAIL>"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "A nonexistent interface was requested or the requested address was not local."
303 msgstr "تم طلب واجهة غير موجودة أو العنوان المطلوب ليس محلياً."
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "The following errors are specific to UNIX domain (B<AF_UNIX>) sockets:"
309 msgstr "الأخطاء التالية خاصة بمقابس نطاق UNIX (B<AF_UNIX>):"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Search permission is denied on a component of the path prefix. (See also "
316 "B<path_resolution>(7).)"
317 msgstr ""
318 "أُذونات البحث مرفوضة في أحد مكونات بادئة المسار. (انظر أيضًا "
319 "B<path_resolution>(7).)"
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<EFAULT>"
326 msgstr "B<EFAULT>"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid "I<addr> points outside the user's accessible address space."
332 msgstr "يشير I<addr> إلى خارج فضاء العناوين القابل للوصول من قبل المستخدم."
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<ELOOP>"
339 msgstr "B<ELOOP>"
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 "Too many symbolic links were encountered in resolving I<addr>."
345 msgstr "تمت مصادفة عدد كبير جداً من الروابط الرمزية أثناء حل I<addr>."
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<ENAMETOOLONG>"
352 msgstr "B<ENAMETOOLONG>"
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 "I<addr> is too long."
358 msgstr "I<addr> طويل جداً."
359
360 #. type: TP
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "B<ENOENT>"
365 msgstr "B<ENOENT>"
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "A component in the directory prefix of the socket pathname does not exist."
372 msgstr "مكون في بادئة الدليل لاسم مسار المقبس غير موجود."
373
374 #. type: TP
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "B<ENOMEM>"
379 msgstr "B<ENOMEM>"
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid "Insufficient kernel memory was available."
385 msgstr "ذاكرة النواة المتوفرة غير كافية."
386
387 #. type: TP
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<ENOTDIR>"
392 msgstr "B<ENOTDIR>"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid "A component of the path prefix is not a directory."
398 msgstr "أحد مكونات بادئة المسار ليس دليلاً."
399
400 #. type: TP
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "B<EROFS>"
405 msgstr "B<EROFS>"
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid "The socket inode would reside on a read-only filesystem."
411 msgstr "سيكون عقدة المقبس موجودة على نظام ملفات للقراءة فقط."
412
413 #. type: Plain text
414 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
415 #: opensuse-leap-16-1 opensuse-tumbleweed
416 msgid "Other errors may be generated by the underlying protocol modules."
417 msgstr "قد تتولد أخطاء أخرى بواسطة وحدات البروتوكول الأساسية."
418
419 #. type: SH
420 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
421 #: opensuse-tumbleweed
422 #, no-wrap
423 msgid "VERSIONS"
424 msgstr "الإصدارات"
425
426 #. type: Plain text
427 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
428 #: opensuse-tumbleweed
429 msgid ""
430 "Portable programs must ensure that I<addr.sun_path> is a null-terminated "
431 "string for B<AF_UNIX> sockets."
432 msgstr ""
433 "يجب أن تضمن البرامج القابلة للنقل أن I<addr.sun_path> هي سلسلة منتهية بـ "
434 "null لمقابس B<AF_UNIX>."
435
436 #. type: SH
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "STANDARDS"
441 msgstr "المعايير"
442
443 #. type: Plain text
444 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
445 #: opensuse-tumbleweed
446 msgid "POSIX.1-2024."
447 msgstr "POSIX.1-2024."
448
449 #. type: SH
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "HISTORY"
454 msgstr "التاريخ"
455
456 #. SVr4 documents an additional
457 #. .B ENOSR
458 #. general error condition, and
459 #. additional
460 #. .B EIO
461 #. and
462 #. .B EISDIR
463 #. UNIX-domain error conditions.
464 #. type: Plain text
465 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
466 #: opensuse-tumbleweed
467 msgid "POSIX.1-2001, SVr4, 4.2BSD."
468 msgstr "POSIX.1-2001،‏ SVr4،‏ 4.2BSD."
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 "BUGS"
475 msgstr "العلل"
476
477 #. FIXME Document transparent proxy options
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid "The transparent proxy options are not described."
482 msgstr "خيارات الوكيل الشفاف غير موصوفة."
483
484 #. type: SH
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "EXAMPLES"
489 msgstr "أمثلة"
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid ""
495 "An example of the use of B<bind>() with Internet domain sockets can be "
496 "found in B<getaddrinfo>(3)."
497 msgstr ""
498 "يمكن العثور على مثال لاستخدام B<bind>() مع مقابس نطاق الإنترنت في "
499 "B<getaddrinfo>(3)."
500
501 #. listen.7 refers to this example.
502 #. accept.7 refers to this example.
503 #. unix.7 refers to this example.
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid ""
508 "The following example shows how to bind a stream socket in the UNIX "
509 "(B<AF_UNIX>) domain, and accept connections:"
510 msgstr ""
511 "المثال التالي يوضح كيفية ربط مقبس دفق في نطاق UNIX (B<AF_UNIX>)، وقبول "
512 "الاتصالات:"
513
514 #. type: Plain text
515 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
516 #: opensuse-tumbleweed
517 #, no-wrap
518 msgid ""
519 "#include E<lt>err.hE<gt>\n"
520 "#include E<lt>stdlib.hE<gt>\n"
521 "#include E<lt>string.hE<gt>\n"
522 "#include E<lt>sys/socket.hE<gt>\n"
523 "#include E<lt>sys/un.hE<gt>\n"
524 "#include E<lt>unistd.hE<gt>\n"
525 "\\&\n"
526 "#define MY_SOCK_PATH \"/somepath\"\n"
527 "#define LISTEN_BACKLOG 50\n"
528 "\\&\n"
529 "int\n"
530 "main(void)\n"
531 "{\n"
532 " int sfd, cfd;\n"
533 " socklen_t peer_addr_size;\n"
534 " struct sockaddr_un my_addr, peer_addr;\n"
535 "\\&\n"
536 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
537 " if (sfd == -1)\n"
538 " err(EXIT_FAILURE, \"socket\");\n"
539 "\\&\n"
540 " memset(&my_addr, 0, sizeof(my_addr));\n"
541 " my_addr.sun_family = AF_UNIX;\n"
542 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
543 " sizeof(my_addr.sun_path) - 1);\n"
544 "\\&\n"
545 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
546 " sizeof(my_addr)) == -1)\n"
547 " err(EXIT_FAILURE, \"bind\");\n"
548 "\\&\n"
549 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
550 " err(EXIT_FAILURE, \"listen\");\n"
551 "\\&\n"
552 " /* Now we can accept incoming connections one\n"
553 " at a time using accept(2). */\n"
554 "\\&\n"
555 " peer_addr_size = sizeof(peer_addr);\n"
556 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
557 " &peer_addr_size);\n"
558 " if (cfd == -1)\n"
559 " err(EXIT_FAILURE, \"accept\");\n"
560 "\\&\n"
561 " /* Code to deal with incoming connection(s)... */\n"
562 "\\&\n"
563 " if (close(sfd) == -1)\n"
564 " err(EXIT_FAILURE, \"close\");\n"
565 "\\&\n"
566 " if (unlink(MY_SOCK_PATH) == -1)\n"
567 " err(EXIT_FAILURE, \"unlink\");\n"
568 "}\n"
569 msgstr ""
570 "#include E<lt>err.hE<gt>\n"
571 "#include E<lt>stdlib.hE<gt>\n"
572 "#include E<lt>string.hE<gt>\n"
573 "#include E<lt>sys/socket.hE<gt>\n"
574 "#include E<lt>sys/un.hE<gt>\n"
575 "#include E<lt>unistd.hE<gt>\n"
576 "\\&\n"
577 "#define MY_SOCK_PATH \"/somepath\"\n"
578 "#define LISTEN_BACKLOG 50\n"
579 "\\&\n"
580 "int\n"
581 "main(void)\n"
582 "{\n"
583 " int sfd, cfd;\n"
584 " socklen_t peer_addr_size;\n"
585 " struct sockaddr_un my_addr, peer_addr;\n"
586 "\\&\n"
587 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
588 " if (sfd == -1)\n"
589 " err(EXIT_FAILURE, \"socket\");\n"
590 "\\&\n"
591 " memset(&my_addr, 0, sizeof(my_addr));\n"
592 " my_addr.sun_family = AF_UNIX;\n"
593 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
594 " sizeof(my_addr.sun_path) - 1);\n"
595 "\\&\n"
596 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
597 " sizeof(my_addr)) == -1)\n"
598 " err(EXIT_FAILURE, \"bind\");\n"
599 "\\&\n"
600 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
601 " err(EXIT_FAILURE, \"listen\");\n"
602 "\\&\n"
603 " /* الآن يمكننا قبول الاتصالات الواردة\n"
604 " واحدة تلو الأخرى باستخدام accept(2). */\n"
605 "\\&\n"
606 " peer_addr_size = sizeof(peer_addr);\n"
607 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
608 " &peer_addr_size);\n"
609 " if (cfd == -1)\n"
610 " err(EXIT_FAILURE, \"accept\");\n"
611 "\\&\n"
612 " /* كود للتعامل مع الاتصال(ات) الواردة... */\n"
613 "\\&\n"
614 " if (close(sfd) == -1)\n"
615 " err(EXIT_FAILURE, \"close\");\n"
616 "\\&\n"
617 " if (unlink(MY_SOCK_PATH) == -1)\n"
618 " err(EXIT_FAILURE, \"unlink\");\n"
619 "}\n"
620
621 #. SRC END
622 #. type: SH
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 #, no-wrap
626 msgid "SEE ALSO"
627 msgstr "انظر أيضًا"
628
629 #. type: Plain text
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 msgid ""
633 "B<accept>(2), B<connect>(2), B<getsockname>(2), B<listen>(2), B<socket>(2), "
634 "B<getaddrinfo>(3), B<getifaddrs>(3), B<ip>(7), B<ipv6>(7), "
635 "B<path_resolution>(7), B<socket>(7), B<unix>(7)"
636 msgstr ""
637 "B<accept>(2), B<connect>(2), B<getsockname>(2), B<listen>(2), B<socket>(2), "
638 "B<getaddrinfo>(3), B<getifaddrs>(3), B<ip>(7), B<ipv6>(7), "
639 "B<path_resolution>(7), B<socket>(7), B<unix>(7)"
640
641 #. type: TH
642 #: debian-trixie
643 #, no-wrap
644 msgid "2024-06-15"
645 msgstr "15 يونيو 2024"
646
647 #. type: TH
648 #: debian-trixie
649 #, no-wrap
650 msgid "Linux man-pages 6.9.1"
651 msgstr "صفحات دليل لينكس 6.9.1"
652
653 #. type: Plain text
654 #: debian-trixie
655 msgid "Standard C library (I<libc>, I<-lc>)"
656 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
657
658 #. type: Plain text
659 #: debian-trixie fedora-44 fedora-rawhide
660 msgid "POSIX.1-2008."
661 msgstr "POSIX.1-2008."
662
663 #. SVr4 documents an additional
664 #. .B ENOSR
665 #. general error condition, and
666 #. additional
667 #. .B EIO
668 #. and
669 #. .B EISDIR
670 #. UNIX-domain error conditions.
671 #. type: Plain text
672 #: debian-trixie fedora-44 fedora-rawhide
673 msgid "POSIX.1-2001, SVr4, 4.4BSD (B<bind>() first appeared in 4.2BSD)."
674 msgstr "POSIX.1-2001, SVr4, 4.4BSD (ظهر B<bind>() لأول مرة في 4.2BSD)."
675
676 #. type: Plain text
677 #: debian-trixie fedora-44 fedora-rawhide
678 #, no-wrap
679 msgid ""
680 "#include E<lt>stdio.hE<gt>\n"
681 "#include E<lt>stdlib.hE<gt>\n"
682 "#include E<lt>string.hE<gt>\n"
683 "#include E<lt>sys/socket.hE<gt>\n"
684 "#include E<lt>sys/un.hE<gt>\n"
685 "#include E<lt>unistd.hE<gt>\n"
686 "\\&\n"
687 "#define MY_SOCK_PATH \"/somepath\"\n"
688 "#define LISTEN_BACKLOG 50\n"
689 "\\&\n"
690 "#define handle_error(msg) \\[rs]\n"
691 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
692 "\\&\n"
693 "int\n"
694 "main(void)\n"
695 "{\n"
696 " int sfd, cfd;\n"
697 " socklen_t peer_addr_size;\n"
698 " struct sockaddr_un my_addr, peer_addr;\n"
699 "\\&\n"
700 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
701 " if (sfd == -1)\n"
702 " handle_error(\"socket\");\n"
703 "\\&\n"
704 " memset(&my_addr, 0, sizeof(my_addr));\n"
705 " my_addr.sun_family = AF_UNIX;\n"
706 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
707 " sizeof(my_addr.sun_path) - 1);\n"
708 "\\&\n"
709 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
710 " sizeof(my_addr)) == -1)\n"
711 " handle_error(\"bind\");\n"
712 "\\&\n"
713 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
714 " handle_error(\"listen\");\n"
715 "\\&\n"
716 " /* Now we can accept incoming connections one\n"
717 " at a time using accept(2). */\n"
718 "\\&\n"
719 " peer_addr_size = sizeof(peer_addr);\n"
720 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
721 " &peer_addr_size);\n"
722 " if (cfd == -1)\n"
723 " handle_error(\"accept\");\n"
724 "\\&\n"
725 " /* Code to deal with incoming connection(s)... */\n"
726 "\\&\n"
727 " if (close(sfd) == -1)\n"
728 " handle_error(\"close\");\n"
729 "\\&\n"
730 " if (unlink(MY_SOCK_PATH) == -1)\n"
731 " handle_error(\"unlink\");\n"
732 "}\n"
733 msgstr ""
734 "#include E<lt>stdio.hE<gt>\n"
735 "#include E<lt>stdlib.hE<gt>\n"
736 "#include E<lt>string.hE<gt>\n"
737 "#include E<lt>sys/socket.hE<gt>\n"
738 "#include E<lt>sys/un.hE<gt>\n"
739 "#include E<lt>unistd.hE<gt>\n"
740 "\\&\n"
741 "#define MY_SOCK_PATH \"/somepath\"\n"
742 "#define LISTEN_BACKLOG 50\n"
743 "\\&\n"
744 "#define handle_error(msg) \\[rs]\n"
745 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
746 "\\&\n"
747 "int\n"
748 "main(void)\n"
749 "{\n"
750 " int sfd, cfd;\n"
751 " socklen_t peer_addr_size;\n"
752 " struct sockaddr_un my_addr, peer_addr;\n"
753 "\\&\n"
754 " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
755 " if (sfd == -1)\n"
756 " handle_error(\"socket\");\n"
757 "\\&\n"
758 " memset(&my_addr, 0, sizeof(my_addr));\n"
759 " my_addr.sun_family = AF_UNIX;\n"
760 " strncpy(my_addr.sun_path, MY_SOCK_PATH,\n"
761 " sizeof(my_addr.sun_path) - 1);\n"
762 "\\&\n"
763 " if (bind(sfd, (struct sockaddr *) &my_addr,\n"
764 " sizeof(my_addr)) == -1)\n"
765 " handle_error(\"bind\");\n"
766 "\\&\n"
767 " if (listen(sfd, LISTEN_BACKLOG) == -1)\n"
768 " handle_error(\"listen\");\n"
769 "\\&\n"
770 " /* الآن يمكننا قبول الاتصالات الواردة\n"
771 " واحدة تلو الأخرى باستخدام accept(2). */\n"
772 "\\&\n"
773 " peer_addr_size = sizeof(peer_addr);\n"
774 " cfd = accept(sfd, (struct sockaddr *) &peer_addr,\n"
775 " &peer_addr_size);\n"
776 " if (cfd == -1)\n"
777 " handle_error(\"accept\");\n"
778 "\\&\n"
779 " /* كود للتعامل مع الاتصال(ات) الواردة... */\n"
780 "\\&\n"
781 " if (close(sfd) == -1)\n"
782 " handle_error(\"close\");\n"
783 "\\&\n"
784 " if (unlink(MY_SOCK_PATH) == -1)\n"
785 " handle_error(\"unlink\");\n"
786 "}\n"
787
788 #. type: TH
789 #: fedora-44 fedora-rawhide
790 #, no-wrap
791 msgid "2024-11-06"
792 msgstr "6 نوفمبر 2024"
793
794 #. type: TH
795 #: fedora-44 fedora-rawhide
796 #, no-wrap
797 msgid "Linux man-pages 6.13"
798 msgstr "صفحات دليل لينكس 6.13"
799
800 #. type: TH
801 #: mageia-cauldron
802 #, no-wrap
803 msgid "Linux man-pages 6.17"
804 msgstr "صفحات دليل لينكس 6.17"
805
806 #. type: TH
807 #: opensuse-leap-16-1 opensuse-tumbleweed
808 #, no-wrap
809 msgid "Linux man-pages (unreleased)"
810 msgstr "صفحات دليل لينكس (لم تصدر بعد)"