Debian Codegraph @

po/bg/archive/man2/accept.2.po

raw
1 # Bulgarian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Stoyan Zhekov <[email protected]>, 2001.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2025-05-22 19:31+0200\n"
9 "PO-Revision-Date: 2001-12-23 00:00+0200\n"
10 "Last-Translator: Stoyan Zhekov <[email protected]>\n"
11 "Language-Team: Bulgarian <[email protected]>\n"
12 "Language: bg\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. type: TH
18 #: accept.2:36
19 #, no-wrap
20 msgid "ACCEPT"
21 msgstr "ACCEPT"
22
23 #. type: TH
24 #: accept.2:36
25 #, no-wrap
26 msgid "July 24, 1993"
27 msgstr "24 Юли 1993"
28
29 #. type: TH
30 #: accept.2:36
31 #, no-wrap
32 msgid "BSD Guide"
33 msgstr "BSD Ръководство"
34
35 #. type: TH
36 #: accept.2:36
37 #, no-wrap
38 msgid "Linux Programmer's Guide"
39 msgstr "Ръководство на Linux програмиста"
40
41 #. type: SH
42 #: accept.2:37
43 #, no-wrap
44 msgid "NAME"
45 msgstr "ИМЕ"
46
47 #. type: Plain text
48 #: accept.2:39
49 msgid "accept - accept a socket connection"
50 msgstr "accept - приема връзка на сокет"
51
52 #. type: SH
53 #: accept.2:39
54 #, no-wrap
55 msgid "SYNOPSIS"
56 msgstr "РЕЗЮМЕ"
57
58 #. type: Plain text
59 #: accept.2:41
60 msgid "B<#include E<lt>sys/types.hE<gt>>"
61 msgstr "B<#include E<lt>sys/types.hE<gt>>"
62
63 #. type: Plain text
64 #: accept.2:43
65 msgid "B<#include E<lt>sys/socket.hE<gt>>"
66 msgstr "B<#include E<lt>sys/socket.hE<gt>>"
67
68 #. type: Plain text
69 #: accept.2:45
70 msgid ""
71 "B<int accept(int >I<s>B<, struct sockaddr *>I<addr>B<, int *>I<addrlen>B<);>"
72 msgstr ""
73 "B<int accept(int >I<s>B<, struct sockaddr *>I<addr>B<, int *>I<addrlen>B<);>"
74
75 #. type: SH
76 #: accept.2:45
77 #, no-wrap
78 msgid "DESCRIPTION"
79 msgstr "ОПИСАНИЕ"
80
81 #. type: Plain text
82 #: accept.2:69
83 msgid ""
84 "The parameter I<s> is a socket created with B<socket>(2), bound to an address "
85 "with B<bind>(2), and `listening' for a connection after B<listen>(2). The "
86 "function B<accept> retrieves the first connection request from the queue of "
87 "waiting connections, creates a new socket with the same properties as I<s>, "
88 "and creates a new file descriptor for the socket. If there are no waiting "
89 "connections in the queue and the socket is not marked as non-blocking, "
90 "B<accept> blocks the caller until a connection occurs. If the socket is "
91 "marked as `non-blocking' and there are no waiting connections in the queue, "
92 "B<accept> returns an error as described below. The accepted socket cannot be "
93 "used to accept more connections. The original socket I<s> remains open."
94 msgstr ""
95 "Параметърът I<s> е сокет създаден със B<socket>(2), прикачен към адрес с "
96 "B<bind>(2), и `слушащ' за връзка след B<listen>(2). Функцията B<accept> "
97 "извлича първата заявка за връзка на опашката от чакащи връзка, създава нов "
98 "сокет със същите свойства като I<s> и създава нов файлов дескриптор за "
99 "сокета. Ако няма чакащи на опашката връзки и сокета не е отбелязан като non-"
100 "blocking, B<accept> блокира извиквача, докато се появи връзка. Ако сокета е "
101 "отбелязан като `non-blocking' и няма чакащи на опашката връзки, B<accept> "
102 "връща грешка, както е описано по-долу. Приетият сокет не може да бъде "
103 "използван за приемане на още връзки. Оригиналният сокет I<s> остава отворен."
104
105 #. type: Plain text
106 #: accept.2:83
107 msgid ""
108 "The I<addr> parameter is a result parameter that is filled with the address "
109 "of the entity being connected, in a manner known to the communication "
110 "framework. The exact format of the I<addr> parameter is determined by the "
111 "domain from which the connection is originating. The I<addrlen> parameter is "
112 "a value-result parameter; it should initially contain the amount of space "
113 "specified by I<addr>; on return it will contain the actual length (in bytes) "
114 "of the returned address. This call is used with a connection-based socket "
115 "type, currently B<SOCK_STREAM>."
116 msgstr ""
117 "Параметъра I<addr> е резултатен параметър, който се попълва с адреса на "
118 "връзващото се същество, по начин познат от комуникационната основа. Точния "
119 "формат на параметъра I<addr> се определя от домейна, от който връзката се "
120 "появява. Параметъра I<addrlen> е стойностно-резултатен параметър; би трябвало "
121 "първоначално да съдържа количеството пространство указвано от I<addr>; на "
122 "връщане ще съдържа истинската дължина (в байтове) на връщания адрес. Това "
123 "извикване се използва с базиран с връзка сокетен тип, в момента със "
124 "B<SOCK_STREAM>."
125
126 #. type: Plain text
127 #: accept.2:89
128 msgid ""
129 "It is possible to do a B<select>(2) on a socket to do a B<accept>, selecting "
130 "it for reading."
131 msgstr ""
132 "Възможно е направите B<select>(2) на сокет, за да направите B<accept>, като "
133 "го изберете за четене."
134
135 #. type: Plain text
136 #: accept.2:99
137 msgid ""
138 "For certain protocols that require explicit acknowledgement, such as B<ISO> "
139 "or B<DATAKIT>, B<accept> can be thought of as a bit of a queue move with the "
140 "next connection request and an implicit acknowledgement. The acknowledgement "
141 "can be understood as a normal read or write to the new file descriptor, and "
142 "the rejection can be understood as closing the socket."
143 msgstr ""
144 "За определени протоколи, които изискват изрично потвърждение, като например "
145 "B<ISO> или B<DATAKIT>, B<accept> може да бъде помислен за малко разместващ "
146 "опашката със следващата заявка за връзка и подразбрано потвърждение. "
147 "Потвърждението може да бъде подразбрано чрез нормално четене или писане по "
148 "новия файлов дескриптор, а отказщт може да бъде подразбран като се затвори "
149 "сокета."
150
151 #. type: Plain text
152 #: accept.2:109
153 msgid ""
154 "Someone can acquire the data from a user connection request without "
155 "confirming the connection by using the B<recvmsg>(2) call with a zero "
156 "I<msg_iovlen> and a non-zero I<msg_controllen>, or by calling a "
157 "B<getsockopt>(2) request."
158 msgstr ""
159 "Някой може придобие данните от потребителска заявка за връзка без "
160 "потвърждаване на връзката, като се използва повикването B<recvmsg>(2) с "
161 "нулево I<msg_iovlen> и с ненулево I<msg_controllen>, или, като извика заявка "
162 "за B<getsockopt>(2)."
163
164 #. type: Plain text
165 #: accept.2:114
166 msgid ""
167 "request, using the B<sendmsg>(2) call with only the control information "
168 "provided, or by calling B<setsockopt>(2)."
169 msgstr ""
170 "заявка, като използва повикването B<sendmsg>(2) с предоставяйки само "
171 "контролната информация, или като извика B<setsockopt>(2)."
172
173 #. type: SH
174 #: accept.2:114
175 #, no-wrap
176 msgid "RETURN VALUES"
177 msgstr "ВРЪЩАНИ СТОЙНОСТИ"
178
179 #. type: Plain text
180 #: accept.2:117
181 msgid ""
182 "The call returns -1 on error. If successful, it returns a non-negative "
183 "integer that is a descriptor of the received socket."
184 msgstr ""
185 "Повикването връща -1 при грешка. Ако успее, връща неотрицателно цяло число, "
186 "което е дескриптор на приетия сокет."
187
188 #. type: SH
189 #: accept.2:117
190 #, no-wrap
191 msgid "ERRORS"
192 msgstr "ГРЕШКИ"
193
194 #. type: Plain text
195 #: accept.2:119
196 msgid "The BSD manual documents five possible error return values."
197 msgstr ""
198 "BSD ръководството документира пет възможни стойности, връщани при грешка."
199
200 #. type: TP
201 #: accept.2:119
202 #, no-wrap
203 msgid "B<EBADF>"
204 msgstr "B<EBADF>"
205
206 #. type: Plain text
207 #: accept.2:122
208 msgid "Invalid descriptor."
209 msgstr "Невалиден дескриптор."
210
211 #. type: TP
212 #: accept.2:122
213 #, no-wrap
214 msgid "B<ENOTSOCK>"
215 msgstr "B<ENOTSOCK>"
216
217 #. type: Plain text
218 #: accept.2:125
219 msgid "A file descriptor, not a socket."
220 msgstr "Файлов дескриптор, а не сокетен."
221
222 #. type: TP
223 #: accept.2:125
224 #, no-wrap
225 msgid "B<EOPNOTSUPP>"
226 msgstr "B<EOPNOTSUPP>"
227
228 #. type: Plain text
229 #: accept.2:129
230 msgid "The calling socket is not of type B<SOCK_STREAM>."
231 msgstr "Извикващият сокет не е от тип B<SOCK_STREAM>."
232
233 #. type: TP
234 #: accept.2:129
235 #, no-wrap
236 msgid "B<EFAULT>"
237 msgstr "B<EFAULT>"
238
239 #. type: Plain text
240 #: accept.2:134
241 msgid "The parameter I<addr> is not a writable part of the user address space."
242 msgstr ""
243 "Параметърщт I<addr> не е разрешена за писане част от потребителското адресно "
244 "пространство."
245
246 #. type: TP
247 #: accept.2:134
248 #, no-wrap
249 msgid "B<EWOULDBLOCK>"
250 msgstr "B<EWOULDBLOCK>"
251
252 #. type: Plain text
253 #: accept.2:137
254 msgid ""
255 "The socket is marked as `non-blocking' and has no connections waiting to be "
256 "received."
257 msgstr "Сокета е маркиран като `non-blocking' и няма чакащи връзки за приемане."
258
259 #. type: Plain text
260 #: accept.2:150
261 msgid ""
262 "Some Linux kernels may return various other errors such as B<EMFILE>, "
263 "B<EINVAL>, B<ENOSR>, B<ENOBUFS>, B<EAGAIN>, B<EPERM>, B<ECONNABORTED>, "
264 "B<ESOCKTNOSUPPORT>, B<EPROTONOSUPPORT>, B<ETIMEDOUT>, B<ERESTARTSYS>."
265 msgstr ""
266 "Някои Linux ядра могат да върнат различни други грешки като B<EMFILE>, "
267 "B<EINVAL>, B<ENOSR>, B<ENOBUFS>, B<EAGAIN>, B<EPERM>, B<ECONNABORTED>, "
268 "B<ESOCKTNOSUPPORT>, B<EPROTONOSUPPORT>, B<ETIMEDOUT>, B<ERESTARTSYS>."
269
270 #. type: SH
271 #: accept.2:150
272 #, no-wrap
273 msgid "CONFORMING TO"
274 msgstr "СЪОБРАЗЕНО С"
275
276 #. type: Plain text
277 #: accept.2:157
278 msgid ""
279 "SVr4, 4.4BSD (the B<accept> function first appeared in BSD 4.2). IRIX "
280 "documents additional EMFILE and ENFILE errors. Solaris documents additional "
281 "EINTR, ENODEV, ENOMEM, ENOSR, and EPROTO errors."
282 msgstr ""
283 "SVr4, 4.4BSD (функцията B<accept> се появи първо в BSD 4.2). IRIX "
284 "документира допълнителни грешки EMFILE and ENFILE. Solaris докъментира "
285 "допълнителни грешки EINTR, ENODEV, ENOMEM, ENOSR и EPROTO."
286
287 #. type: SH
288 #: accept.2:157
289 #, no-wrap
290 msgid "SEE ALSO"
291 msgstr "ВИЖТЕ СЪЩО"
292
293 #. type: Plain text
294 #: accept.2:158
295 msgid "B<bind>(2), B<connect>(2), B<listen>(2), B<select>(2), B<socket>(2)"
296 msgstr "B<bind>(2), B<connect>(2), B<listen>(2), B<select>(2), B<socket>(2)"