Debian Codegraph @

po/ko/man2/recv.2.po

raw
1 # Korean 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]>, 2000.
5 # 한글 Manpage 프로젝트 <http://man.kldp.org>, 2004.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
10 "PO-Revision-Date: 2004-03-25 08:57+0900\n"
11 "Last-Translator: 한글 Manpage 프로젝트 <http://man.kldp.org>\n"
12 "Language-Team: Korean <[email protected]>\n"
13 "Language: ko\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=1; plural=0;\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 "recv"
24 msgstr "recv"
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-10-29"
31 msgstr "2025년 10월 29일"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr "Linux man-pages 6.18"
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 "recv, recvfrom, recvmsg - receive a message from a socket"
50 msgstr "recv, recvfrom, recvmsg - 소켓으로부터 메세지를 받는다."
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 "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
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 "B<#include E<lt>sys/socket.hE<gt>>\n"
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<ssize_t recv(>size_t size;\n"
85 "B< int >I<sockfd>B<, void >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
86 "B< int >I<flags>B<);>\n"
87 "B<ssize_t recvfrom(>size_t size;\n"
88 "B< int >I<sockfd>B<, void >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
89 "B< int >I<flags>B<,>\n"
90 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
91 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
92 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
93 msgstr ""
94
95 #. type: SH
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid "DESCRIPTION"
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 #, fuzzy
106 #| msgid ""
107 #| "The B<recvfrom> and B<recvmsg> calls are used to receive messages from a "
108 #| "socket, and may be used to receive data on a socket whether or not it is "
109 #| "connection-oriented."
110 msgid ""
111 "The B<recv>(), B<recvfrom>(), and B<recvmsg>() calls are used to receive "
112 "messages from a socket. They may be used to receive data on both "
113 "connectionless and connection-oriented sockets. This page first describes "
114 "common features of all three system calls, and then describes the "
115 "differences between the calls."
116 msgstr ""
117 "B<recvfrom> 그리고 B<recvmsg>는 연결 지향형이든 아니든 소켓에서 메세지를 받"
118 "기 위해 사용된다. 그리고 소켓에 있는 데이터를 받기 위해 사용된다."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The only difference between B<recv>() and B<read>(2) is the presence of "
125 "I<flags>. With a zero I<flags> argument, B<recv>() is generally equivalent "
126 "to B<read>(2) (but see NOTES). Also, the following call"
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
131 #: opensuse-leap-16-1 opensuse-tumbleweed
132 #, fuzzy, no-wrap
133 #| msgid "recv(sockfd, buf, len, flags);\n"
134 msgid "recv(sockfd, buf, size, flags);\n"
135 msgstr "recv(sockfd, buf, len, flags);\n"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid "is equivalent to"
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
145 #: opensuse-leap-16-1 opensuse-tumbleweed
146 #, fuzzy, no-wrap
147 #| msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
148 msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
149 msgstr "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
150
151 #. type: Plain text
152 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
153 #: opensuse-leap-16-1 opensuse-tumbleweed
154 #, fuzzy
155 #| msgid ""
156 #| "All three routines return the length of the message on successful "
157 #| "completion. If a message is too long to fit in the supplied buffer, "
158 #| "excess bytes may be discarded depending on the type of socket the message "
159 #| "is received from (see B<socket>(2))."
160 msgid ""
161 "All three calls return the size of the message on successful completion. If "
162 "a message is too long to fit in the supplied buffer, excess bytes may be "
163 "discarded depending on the type of socket the message is received from."
164 msgstr ""
165 "소켓에 메시지가 없다면, 메시지를 받는 호출은 메시지가 들어올때까지 기다리게되"
166 "며, 만약 소켓이 넌블럭킹( B<fcntl>(2) 참조)이었다면 결과값은 -1이 되고 errno"
167 "를 B<EAGAIN>으로 설정한다. 일반적으로 메시지를 받는 호출들은 요구된 양을 모"
168 "두 채우며 기다리기 보다는 채워진 양을 리턴한다."
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "If no messages are available at the socket, the receive calls wait for a "
175 "message to arrive, unless the socket is nonblocking (see B<fcntl>(2)), in "
176 "which case the value -1 is returned and I<errno> is set to B<EAGAIN> or "
177 "B<EWOULDBLOCK>. The receive calls normally return any data available, up to "
178 "the requested amount, rather than waiting for receipt of the full amount "
179 "requested."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, fuzzy
186 #| msgid ""
187 #| "The B<select>(2) or B<poll>(2) call may be used to determine when more "
188 #| "data arrives."
189 msgid ""
190 "An application can use B<select>(2), B<poll>(2), or B<epoll>(7) to "
191 "determine when more data arrives on a socket."
192 msgstr ""
193 "B<select>(2) 나 B<poll>(2) 호출은 데이터가 더 도착하였는지를 결정하기 위해 "
194 "사용된다."
195
196 #. type: SS
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "The flags argument"
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, fuzzy
207 #| msgid ""
208 #| "The I<flags> argument to a recv call is formed by I<OR>'ing one or more "
209 #| "of the following values:"
210 msgid ""
211 "The I<flags> argument is formed by ORing one or more of the following values:"
212 msgstr ""
213 "받는 함수들을 위한 I<flags> 인자는 다음 값들 중 하나 이상의 I<OR>로 구성된"
214 "다.:"
215
216 #. type: TP
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() only; since Linux 2.6.23)"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "Set the close-on-exec flag for the file descriptor received via a UNIX "
228 "domain file descriptor using the B<SCM_RIGHTS> operation (described in "
229 "B<unix>(7)). This flag is useful for the same reasons as the B<O_CLOEXEC> "
230 "flag of B<open>(2)."
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<MSG_DONTWAIT> (since Linux 2.2)"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
242 #: opensuse-tumbleweed
243 msgid ""
244 "Enables nonblocking operation; if the operation would block, the call fails "
245 "with B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior to setting "
246 "the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but "
247 "differs in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> "
248 "is a setting on the open file description (see B<open>(2)), which will "
249 "affect all threads in the calling process as well as other processes that "
250 "hold file descriptors referring to the same open file description."
251 msgstr ""
252
253 #. type: TP
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, fuzzy, no-wrap
257 #| msgid "B<MSG_ERRQUEUE>"
258 msgid "B<MSG_ERRQUEUE> (since Linux 2.2)"
259 msgstr "B<MSG_ERRQUEUE>"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "This flag specifies that queued errors should be received from the socket "
266 "error queue. The error is passed in an ancillary message with a type "
267 "dependent on the protocol (for IPv4 B<IP_RECVERR>). The user should supply "
268 "a buffer of sufficient size. See B<cmsg>(3) and B<ip>(7) for more "
269 "information. The payload of the original packet that caused the error is "
270 "passed as normal data via I<msg_iovec>. The original destination address of "
271 "the datagram that caused the error is supplied via I<msg_name>."
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid "The error is supplied in a I<sock_extended_err> structure:"
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 #, no-wrap
284 msgid ""
285 "#define SO_EE_ORIGIN_NONE 0\n"
286 "#define SO_EE_ORIGIN_LOCAL 1\n"
287 "#define SO_EE_ORIGIN_ICMP 2\n"
288 "#define SO_EE_ORIGIN_ICMP6 3\n"
289 "\\&\n"
290 "struct sock_extended_err\n"
291 "{\n"
292 " uint32_t ee_errno; /* Error number */\n"
293 " uint8_t ee_origin; /* Where the error originated */\n"
294 " uint8_t ee_type; /* Type */\n"
295 " uint8_t ee_code; /* Code */\n"
296 " uint8_t ee_pad; /* Padding */\n"
297 " uint32_t ee_info; /* Additional information */\n"
298 " uint32_t ee_data; /* Other data */\n"
299 " /* More data may follow */\n"
300 "};\n"
301 "\\&\n"
302 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
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 #, fuzzy
309 #| msgid ""
310 #| "B<ee_errno> contains the errno number of the queued error. B<ee_origin> "
311 #| "is the origin code of where the error originated. The other fields are "
312 #| "protocol specific. The macro B<SOCK_EE_OFFENDER> returns a pointer to the "
313 #| "address of the network object where the error originated from given a "
314 #| "pointer to the ancillary message. If this address is not known, the "
315 #| "I<sa_family> member of the B<sockaddr> contains B<AF_UNSPEC> and the "
316 #| "other fields of the B<sockaddr> are undefined. The payload of the packet "
317 #| "that caused the error is passed as normal data."
318 msgid ""
319 "I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> "
320 "is the origin code of where the error originated. The other fields are "
321 "protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the "
322 "address of the network object where the error originated from given a "
323 "pointer to the ancillary message. If this address is not known, the "
324 "I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other "
325 "fields of the I<sockaddr> are undefined. The payload of the packet that "
326 "caused the error is passed as normal data."
327 msgstr ""
328 "B<ee_errno>는 저장된 오류의 오류 번호를 포함한다. B<ee_origin>는 오류가 시작"
329 "됐던 본래 코드이다. 다른 필드들은 프로토콜에 의존한다. 매크로 "
330 "B<SOCK_EE_OFFENDER>는 보조 메세지에 주어진 포인터에서 오류가 발생한 네트웍 객"
331 "체의 주소에 대한 포인터를 반환한다. 만일 이 주소가 알려지지 않았다면, "
332 "B<sockaddr>의 멤버인 I<sa_family>는 B<AF_UNSPEC>를 포함하며 B<sockaddr>의 다"
333 "른 필드들은 정의되지 않는다. 오류를 야기한 패킷은 보통 데이터처럼 전달된다."
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 #, fuzzy
339 #| msgid ""
340 #| "For local errors, no address is passed (this can be checked with the "
341 #| "I<cmsg_len> member of the B<cmsghdr>). For error receives, the "
342 #| "B<MSG_ERRQUEUE> is set in the B<msghdr>. After an error has been passed, "
343 #| "the pending socket error is regenerated based on the next queued error "
344 #| "and will be passed on the next socket operation."
345 msgid ""
346 "For local errors, no address is passed (this can be checked with the "
347 "I<cmsg_len> member of the I<cmsghdr>). For error receives, the "
348 "B<MSG_ERRQUEUE> flag is set in the I<msghdr>. After an error has been "
349 "passed, the pending socket error is regenerated based on the next queued "
350 "error and will be passed on the next socket operation."
351 msgstr ""
352 "로컬 오류들을 위해, 어떤 주소도 전달되지 않는다. ( 이것은 B<cmsghdr>의 멤버"
353 "인 I<cmsg_len>로 확인할 수 있다.) 오류를 받기 위해, B<MSG_ERRQUEUE>가 "
354 "B<msghdr>에 설정된다. 오류가 전달된 후, 미결인 채로 남아 있던 소켓 오류들은 "
355 "다음 저장된 오류에 기반하여 다시 만들어지고 다음 소켓 작동시 전달된다."
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<MSG_OOB>"
362 msgstr "B<MSG_OOB>"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "This flag requests receipt of out-of-band data that would not be received in "
369 "the normal data stream. Some protocols place expedited data at the head of "
370 "the normal data queue, and thus this flag cannot be used with such protocols."
371 msgstr ""
372 "이 플래그는 일반적 데이터 스트림에서 받지 않는 out-of-band 데이터를 요구한"
373 "다. 몇몇 프로토콜은 보통 데이터 큐의 머리에 급한 데이터를 놓는다. 그리고 이 "
374 "플래그는 그런 프로토콜에서는 사용될 수 없다."
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "B<MSG_PEEK>"
381 msgstr "B<MSG_PEEK>"
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "This flag causes the receive operation to return data from the beginning of "
388 "the receive queue without removing that data from the queue. Thus, a "
389 "subsequent receive call will return the same data."
390 msgstr ""
391 "이 플래그는 큐에서 데이터를 제거하지 않고 받는 큐의 시작에서부터 데이터를 반"
392 "환하는 받기 작동을 하도록 한다. 그래서, 연속적인 받기 호출은 같은 데이터를 "
393 "반환한다."
394
395 #. type: TP
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<MSG_TRUNC> (since Linux 2.2)"
400 msgstr ""
401
402 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
403 #. type: Plain text
404 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
405 #: opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
408 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
409 "(since Linux 3.4) sockets: return the real size of the packet or datagram, "
410 "even when it was longer than the passed buffer."
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid "For use with Internet stream sockets, see B<tcp>(7)."
417 msgstr ""
418
419 #. type: TP
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, fuzzy, no-wrap
423 #| msgid "B<MSG_WAITALL>"
424 msgid "B<MSG_WAITALL> (since Linux 2.2)"
425 msgstr "B<MSG_WAITALL>"
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, fuzzy
431 #| msgid ""
432 #| "This flag requests that the operation block until the full request is "
433 #| "satisfied. However, the call may still return less data than requested "
434 #| "if a signal is caught, an error or disconnect occurs, or the next data to "
435 #| "be received is of a different type than that returned."
436 msgid ""
437 "This flag requests that the operation block until the full request is "
438 "satisfied. However, the call may still return less data than requested if a "
439 "signal is caught, an error or disconnect occurs, or the next data to be "
440 "received is of a different type than that returned. This flag has no effect "
441 "for datagram sockets."
442 msgstr ""
443 "이 플래그는 요구한 양이 다 찰 때까지 작동을 블럭킹하도록 요구한다. 그러나, "
444 "만일 신호가 발생하거나, 오류나 단절이 발생하거나, 혹은 받은 데이터가 전에 반"
445 "환된 데이터와 다른 타입이라면 요구한 것보다 적은 데이터라도 반환한다."
446
447 #. type: SS
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "recvfrom()"
452 msgstr "recvfrom()"
453
454 #. type: Plain text
455 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
456 #: opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "B<recvfrom>() places the received message into the buffer I<buf>. The "
459 "caller must specify the size of the buffer in I<size>."
460 msgstr ""
461
462 #. #-#-#-#-# archlinux: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
463 #. (Note: for datagram sockets in both the UNIX and Internet domains,
464 #. .I src_addr
465 #. is filled in.
466 #. .I src_addr
467 #. is also filled in for stream sockets in the UNIX domain, but is not
468 #. filled in for stream sockets in the Internet domain.)
469 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
470 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
471 #. type: Plain text
472 #. #-#-#-#-# debian-trixie: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
473 #. (Note: for datagram sockets in both the UNIX and Internet domains,
474 #. .I src_addr
475 #. is filled in.
476 #. .I src_addr
477 #. is also filled in for stream sockets in the UNIX domain, but is not
478 #. filled in for stream sockets in the Internet domain.)
479 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
480 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
481 #. type: Plain text
482 #. #-#-#-#-# debian-unstable: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
483 #. (Note: for datagram sockets in both the UNIX and Internet domains,
484 #. .I src_addr
485 #. is filled in.
486 #. .I src_addr
487 #. is also filled in for stream sockets in the UNIX domain, but is not
488 #. filled in for stream sockets in the Internet domain.)
489 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
490 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
491 #. type: Plain text
492 #. #-#-#-#-# fedora-44: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
493 #. (Note: for datagram sockets in both the UNIX and Internet domains,
494 #. .I src_addr
495 #. is filled in.
496 #. .I src_addr
497 #. is also filled in for stream sockets in the UNIX domain, but is not
498 #. filled in for stream sockets in the Internet domain.)
499 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
500 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
501 #. type: Plain text
502 #. #-#-#-#-# fedora-rawhide: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
503 #. (Note: for datagram sockets in both the UNIX and Internet domains,
504 #. .I src_addr
505 #. is filled in.
506 #. .I src_addr
507 #. is also filled in for stream sockets in the UNIX domain, but is not
508 #. filled in for stream sockets in the Internet domain.)
509 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
510 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
511 #. type: Plain text
512 #. #-#-#-#-# mageia-cauldron: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
513 #. (Note: for datagram sockets in both the UNIX and Internet domains,
514 #. .I src_addr
515 #. is filled in.
516 #. .I src_addr
517 #. is also filled in for stream sockets in the UNIX domain, but is not
518 #. filled in for stream sockets in the Internet domain.)
519 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
520 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
521 #. type: Plain text
522 #. #-#-#-#-# opensuse-leap-16-1: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
523 #. (Note: for datagram sockets in both the UNIX and Internet domains,
524 #. .I src_addr
525 #. is filled in.
526 #. .I src_addr
527 #. is also filled in for stream sockets in the UNIX domain, but is not
528 #. filled in for stream sockets in the Internet domain.)
529 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
530 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
531 #. type: Plain text
532 #. #-#-#-#-# opensuse-tumbleweed: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
533 #. (Note: for datagram sockets in both the UNIX and Internet domains,
534 #. .I src_addr
535 #. is filled in.
536 #. .I src_addr
537 #. is also filled in for stream sockets in the UNIX domain, but is not
538 #. filled in for stream sockets in the Internet domain.)
539 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
540 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
541 #. type: Plain text
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 msgid ""
545 "If I<src_addr> is not NULL, and the underlying protocol provides the source "
546 "address of the message, that source address is placed in the buffer pointed "
547 "to by I<src_addr>. In this case, I<addrlen> is a value-result argument. "
548 "Before the call, it should be initialized to the size of the buffer "
549 "associated with I<src_addr>. Upon return, I<addrlen> is updated to contain "
550 "the actual size of the source address. The returned address is truncated if "
551 "the buffer provided is too small; in this case, I<addrlen> will return a "
552 "value greater than was supplied to the call."
553 msgstr ""
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "If the caller is not interested in the source address, I<src_addr> and "
560 "I<addrlen> should be specified as NULL."
561 msgstr ""
562
563 #. type: SS
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid "recv()"
568 msgstr "recv()"
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 #, fuzzy
574 #| msgid ""
575 #| "The B<recv> call is normally used only on a I<connected> socket (see "
576 #| "B<connect>(2)) and is identical to B<recvfrom> with a NULL I<from> "
577 #| "parameter."
578 msgid ""
579 "The B<recv>() call is normally used only on a I<connected> socket (see "
580 "B<connect>(2)). It is equivalent to the call:"
581 msgstr ""
582 "B<recv> 호출은 보통 I<연결>된 소켓에서만 사용된다. ( B<connect>(2)를 참조하"
583 "라) 그리고 I<from> 인자를 가진 B<recvfrom>과 동일하다."
584
585 #. type: Plain text
586 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
587 #: opensuse-tumbleweed
588 #, fuzzy, no-wrap
589 #| msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
590 msgid "recvfrom(fd, buf, size, flags, NULL, NULL);\n"
591 msgstr "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
592
593 #. type: SS
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "recvmsg()"
598 msgstr "recvmsg()"
599
600 #. type: Plain text
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, fuzzy
604 #| msgid ""
605 #| "The B<recvmsg> call uses a I<msghdr> structure to minimize the number of "
606 #| "directly supplied parameters. This structure has the following form, as "
607 #| "defined in I<E<lt>sys/socket.hE<gt>>:"
608 msgid ""
609 "The B<recvmsg>() call uses a I<msghdr> structure to minimize the number of "
610 "directly supplied arguments. This structure is defined as follows in "
611 "I<E<lt>sys/socket.hE<gt>>:"
612 msgstr ""
613 "B<recvmsg>는 제공된 파라미터들의 수를 최소화하기 위해 I<msghdr> 구조체를 사용"
614 "한다. 이 구조체는 I<E<lt>sys/socket.hE<gt>>에 정의된 것처럼 다음과 같은 형태"
615 "를 가지고 있다."
616
617 #. type: Plain text
618 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
619 #: opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid ""
622 "struct msghdr {\n"
623 " void *msg_name; /* Optional address */\n"
624 " socklen_t msg_namelen; /* Size of address */\n"
625 " struct iovec *msg_iov; /* Scatter/gather array */\n"
626 " size_t msg_iovlen; /* # elements in msg_iov */\n"
627 " void *msg_control; /* Ancillary data, see below */\n"
628 " size_t msg_controllen; /* Ancillary data buffer size */\n"
629 " int msg_flags; /* Flags on received message */\n"
630 "};\n"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
635 #: opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "The I<msg_name> field points to a caller-allocated buffer that is used to "
638 "return the source address if the socket is unconnected. The caller should "
639 "set I<msg_namelen> to the size of this buffer before this call; upon return "
640 "from a successful call, I<msg_namelen> will contain the size of the returned "
641 "address. If the application does not need to know the source address, "
642 "I<msg_name> can be specified as NULL."
643 msgstr ""
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 msgid ""
649 "The fields I<msg_iov> and I<msg_iovlen> describe scatter-gather locations, "
650 "as discussed in B<readv>(2)."
651 msgstr ""
652
653 #. type: Plain text
654 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
655 #: opensuse-leap-16-1 opensuse-tumbleweed
656 #, fuzzy
657 #| msgid ""
658 #| "Here I<msg_name> and I<msg_namelen> specify the destination address if "
659 #| "the socket is unconnected; I<msg_name> may be given as a null pointer if "
660 #| "no names are desired or required. The fields I<msg_iov> and "
661 #| "I<msg_iovlen> describe scatter-gather locations, as discussed in "
662 #| "B<readv>(2). The field I<msg_control>, which has length "
663 #| "I<msg_controllen>, points to a buffer for other protocol control related "
664 #| "messages or miscellaneous ancillary data. When B<recvmsg> is called, "
665 #| "I<msg_controllen> should contain the length of the available buffer in "
666 #| "I<msg_control>; upon return from a successful call it will contain the "
667 #| "length of the control message sequence."
668 msgid ""
669 "The field I<msg_control>, which has size I<msg_controllen>, points to a "
670 "buffer for other protocol control-related messages or miscellaneous "
671 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
672 "contain the size of the available buffer in I<msg_control>; upon return from "
673 "a successful call it will contain the size of the control message sequence."
674 msgstr ""
675 "I<msg_name>과 I<msg_namelen>은 소켓이 연결되지 않았으면 목적지 주소를 나타낸"
676 "다. I<msg_name>은 어떤 이름도 원하지 않거나 필요하지 않다면 null 포인터로써 "
677 "주어진다. I<msg_iov>와 I<msg_iovlen> 필드는 B<readv>(2)처럼 scatter-gather "
678 "위치를 가리킨다. I<msg_controllen>의 길이를 가지고 있는 I<msg_control>는 메"
679 "세지나 기타 보조 데이터와 관련된 다른 프로토콜 제어를 위한 버퍼를 가리킨다. "
680 "B<recvmsg>가 호출될 때, I<msg_controllen>는 I<msg_control>에서 이용할 수 있"
681 "는 버퍼의 길이를 포함해야 한다. 연속적인 호출에 대한 반환시 연속된 제어 메세"
682 "지들의 길이를 포함해야 한다."
683
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid "The messages are of the form:"
688 msgstr "메세지의 형태는 아래와 같은 형식을 갖는다."
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid ""
695 "struct cmsghdr {\n"
696 " size_t cmsg_len; /* Data byte count, including header\n"
697 " (type is socklen_t in POSIX) */\n"
698 " int cmsg_level; /* Originating protocol */\n"
699 " int cmsg_type; /* Protocol-specific type */\n"
700 "/* followed by\n"
701 " unsigned char cmsg_data[]; */\n"
702 "};\n"
703 msgstr ""
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid ""
709 "Ancillary data should be accessed only by the macros defined in B<cmsg>(3)."
710 msgstr "보조 데이터는 B<cmsg>(3)에서 정의된 매크로에 의해서만 접근되어야 한다."
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 #, fuzzy
716 #| msgid ""
717 #| "As an example, Linux uses this auxiliary data mechanism to pass extended "
718 #| "errors, IP options or file descriptors over Unix sockets."
719 msgid ""
720 "As an example, Linux uses this ancillary data mechanism to pass extended "
721 "errors, IP options, or file descriptors over UNIX domain sockets. For "
722 "further information on the use of ancillary data in various socket domains, "
723 "see B<unix>(7) and B<ip>(7)."
724 msgstr ""
725 "예를 들어, 리눅스는 이 보조 데이터를 IP 옵션이나 Unix 소켓에서 파일 기술자들"
726 "처럼 확장된 오류들을 전달하기 위해 사용한다."
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 msgid ""
732 "The I<msg_flags> field in the I<msghdr> is set on return of B<recvmsg>(). "
733 "It can contain several flags:"
734 msgstr ""
735
736 #. type: TP
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "B<MSG_EOR>"
741 msgstr "B<MSG_EOR>"
742
743 #. type: Plain text
744 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
745 #: opensuse-tumbleweed
746 msgid ""
747 "indicates end-of-record; the data returned completed a record (generally, "
748 "used with sockets of type B<SOCK_SEQPACKET>)."
749 msgstr ""
750
751 #. type: TP
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "B<MSG_TRUNC>"
756 msgstr "B<MSG_TRUNC>"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "indicates that the trailing portion of a datagram was discarded because the "
763 "datagram was larger than the buffer supplied."
764 msgstr ""
765
766 #. type: TP
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 #, no-wrap
770 msgid "B<MSG_CTRUNC>"
771 msgstr "B<MSG_CTRUNC>"
772
773 #. type: Plain text
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 msgid ""
777 "indicates that some control data was discarded due to lack of space in the "
778 "buffer for ancillary data."
779 msgstr ""
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 msgid ""
785 "is returned to indicate that expedited or out-of-band data was received."
786 msgstr ""
787
788 #. type: TP
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 #, no-wrap
792 msgid "B<MSG_ERRQUEUE>"
793 msgstr "B<MSG_ERRQUEUE>"
794
795 #. type: Plain text
796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
798 msgid ""
799 "indicates that no data was received but an extended error from the socket "
800 "error queue."
801 msgstr ""
802
803 #. type: TP
804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
806 #, fuzzy, no-wrap
807 #| msgid "B<MSG_ERRQUEUE>"
808 msgid "B<MSG_CMSG_CLOEXEC> (since Linux 2.6.23)"
809 msgstr "B<MSG_ERRQUEUE>"
810
811 #. commit 4a19542e5f694cd408a32c3d9dc593ba9366e2d7
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid ""
816 "indicates that B<MSG_CMSG_CLOEXEC> was specified in the I<flags> argument of "
817 "B<recvmsg>()."
818 msgstr ""
819
820 #. type: SH
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid "RETURN VALUE"
825 msgstr "반환값"
826
827 #. type: Plain text
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, fuzzy
831 #| msgid ""
832 #| "These calls return the number of bytes received, or -1 if an error "
833 #| "occurred."
834 msgid ""
835 "These calls return the number of bytes received, or -1 if an error "
836 "occurred. In the event of an error, I<errno> is set to indicate the error."
837 msgstr ""
838 "이들 호출은 받은 바이트들의 수를 반환한다. 오류가 발생하면 -1을 반환한다."
839
840 #. type: Plain text
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 msgid ""
844 "When a stream socket peer has performed an orderly shutdown, the return "
845 "value will be 0 (the traditional \"end-of-file\" return)."
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
850 #: opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
853 "permit zero-size datagrams. When such a datagram is received, the return "
854 "value is 0."
855 msgstr ""
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, fuzzy
861 #| msgid ""
862 #| "These calls return the number of bytes received, or -1 if an error "
863 #| "occurred."
864 msgid ""
865 "The value 0 may also be returned if the requested number of bytes to receive "
866 "from a stream socket was 0."
867 msgstr ""
868 "이들 호출은 받은 바이트들의 수를 반환한다. 오류가 발생하면 -1을 반환한다."
869
870 #. type: SH
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 #, no-wrap
874 msgid "ERRORS"
875 msgstr "에러"
876
877 #. type: Plain text
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 #, fuzzy
881 #| msgid ""
882 #| "These are some standard errors generated by the socket layer. Additional "
883 #| "errors may be generated and returned from the underlying protocol "
884 #| "modules; see their manual pages."
885 msgid ""
886 "These are some standard errors generated by the socket layer. Additional "
887 "errors may be generated and returned from the underlying protocol modules; "
888 "see their manual pages."
889 msgstr ""
890 "이것들은 소켓 층에서 발생하는 몇몇 표준 오류이다. 추가적인 오류들은 프로토콜 "
891 "모듈들 아래에서 발생되고 반환된다; 해당 메뉴얼 페이지들을 참조하라."
892
893 #. type: TP
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 #, no-wrap
897 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
898 msgstr "B<EAGAIN>혹은 B<EWOULDBLOCK>"
899
900 #. Actually EAGAIN on Linux
901 #. type: Plain text
902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
904 #, fuzzy
905 #| msgid ""
906 #| "The socket is marked non-blocking and the receive operation would block, "
907 #| "or a receive timeout had been set and the timeout expired before data was "
908 #| "received."
909 msgid ""
910 "The socket is marked nonblocking and the receive operation would block, or a "
911 "receive timeout had been set and the timeout expired before data was "
912 "received. POSIX.1 allows either error to be returned for this case, and "
913 "does not require these constants to have the same value, so a portable "
914 "application should check for both possibilities."
915 msgstr ""
916 "소켓이 non-blocking이고 받는 작동은 블럭킹되어 있거나 받는 타임아웃이 설정되"
917 "어 있고 데이터를 받기 전에 타임아웃이 끝났다."
918
919 #. type: TP
920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
922 #, no-wrap
923 msgid "B<EBADF>"
924 msgstr "B<EBADF>"
925
926 #. type: Plain text
927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
929 #, fuzzy
930 #| msgid "The argument I<s> is an invalid descriptor."
931 msgid "The argument I<sockfd> is an invalid file descriptor."
932 msgstr "인자 I<s>가 유효한 기술자가 아니다."
933
934 #. type: TP
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 #, no-wrap
938 msgid "B<ECONNREFUSED>"
939 msgstr "B<ECONNREFUSED>"
940
941 #. type: Plain text
942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
944 msgid ""
945 "A remote host refused to allow the network connection (typically because it "
946 "is not running the requested service)."
947 msgstr ""
948
949 #. type: TP
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 #, no-wrap
953 msgid "B<EFAULT>"
954 msgstr "B<EFAULT>"
955
956 #. type: Plain text
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 msgid ""
960 "The receive buffer pointer(s) point outside the process's address space."
961 msgstr "받는 버퍼 포인터가 프로세스 주소 공간 이외를 가리키고 있다."
962
963 #. type: TP
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 #, no-wrap
967 msgid "B<EINTR>"
968 msgstr "B<EINTR>"
969
970 #. type: Plain text
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 #, fuzzy
974 #| msgid ""
975 #| "The receive was interrupted by delivery of a signal before any data were "
976 #| "available."
977 msgid ""
978 "The receive was interrupted by delivery of a signal before any data was "
979 "available; see B<signal>(7)."
980 msgstr "받기가 데이터를 이용하기 전에 전달된 신호에 의해 인터럽트 되었다."
981
982 #. type: TP
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 #, no-wrap
986 msgid "B<EINVAL>"
987 msgstr "B<EINVAL>"
988
989 #. e.g., msg_namelen < 0 for recvmsg() or addrlen < 0 for recvfrom()
990 #. type: Plain text
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 msgid "Invalid argument passed."
994 msgstr "실제 사용되지 않는 독립변수가 통과했다."
995
996 #. type: TP
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "B<ENOMEM>"
1001 msgstr "B<ENOMEM>"
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 msgid "Could not allocate memory for B<recvmsg>()."
1007 msgstr ""
1008
1009 #. type: TP
1010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1012 #, no-wrap
1013 msgid "B<ENOTCONN>"
1014 msgstr "B<ENOTCONN>"
1015
1016 #. type: Plain text
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 msgid ""
1020 "The socket is associated with a connection-oriented protocol and has not "
1021 "been connected (see B<connect>(2) and B<accept>(2))."
1022 msgstr ""
1023 "소켓은 연결 지향형 프로토콜이지만 연결되지 않았다. ( B<connect>(2)와 "
1024 "B<accept>(2)를 참조하라.)"
1025
1026 #. type: TP
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 #, no-wrap
1030 msgid "B<ENOTSOCK>"
1031 msgstr "B<ENOTSOCK>"
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 #, fuzzy
1037 #| msgid "The argument I<s> does not refer to a socket."
1038 msgid "The file descriptor I<sockfd> does not refer to a socket."
1039 msgstr "인자 I<s>가 소켓을 가리키지 않는다."
1040
1041 #. type: SH
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 #, no-wrap
1045 msgid "VERSIONS"
1046 msgstr "버전S"
1047
1048 #. POSIX.1-2001, POSIX.1-2008
1049 #. glibc bug for msg_controllen raised 12 Mar 2006
1050 #. http://sourceware.org/bugzilla/show_bug.cgi?id=2448
1051 #. The problem is an underlying kernel issue: the size of the
1052 #. __kernel_size_t type used to type these fields varies
1053 #. across architectures, but socklen_t is always 32 bits,
1054 #. as (at least with GCC) is int.
1055 #. type: Plain text
1056 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1057 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1058 msgid ""
1059 "According to POSIX.1, the I<msg_controllen> field of the I<msghdr> structure "
1060 "should be typed as I<socklen_t>, and the I<msg_iovlen> field should be typed "
1061 "as I<int>, but glibc currently types both as I<size_t>."
1062 msgstr ""
1063
1064 #. type: SH
1065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1067 #, no-wrap
1068 msgid "STANDARDS"
1069 msgstr "표준"
1070
1071 #. type: Plain text
1072 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1073 #: opensuse-tumbleweed
1074 msgid "POSIX.1-2024."
1075 msgstr "POSIX.1-2024."
1076
1077 #. type: SH
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1080 #, no-wrap
1081 msgid "HISTORY"
1082 msgstr "이력"
1083
1084 #. type: Plain text
1085 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1086 #: opensuse-tumbleweed
1087 #, fuzzy
1088 #| msgid "POSIX.1-2001, 4.4BSD."
1089 msgid "POSIX.1-2001, 4.2BSD."
1090 msgstr "POSIX.1-2001, 4.4BSD."
1091
1092 #. type: Plain text
1093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1095 msgid ""
1096 "POSIX.1 describes only the B<MSG_OOB>, B<MSG_PEEK>, and B<MSG_WAITALL> flags."
1097 msgstr ""
1098
1099 #. type: SH
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 #, no-wrap
1103 msgid "NOTES"
1104 msgstr "주의"
1105
1106 #. type: Plain text
1107 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1108 #: opensuse-leap-16-1 opensuse-tumbleweed
1109 msgid ""
1110 "If a zero-size datagram is pending, B<read>(2) and B<recv>() with a "
1111 "I<flags> argument of zero provide different behavior. In this circumstance, "
1112 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1113 "consumes the pending datagram."
1114 msgstr ""
1115
1116 #. type: Plain text
1117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1119 msgid ""
1120 "See B<recvmmsg>(2) for information about a Linux-specific system call that "
1121 "can be used to receive multiple datagrams in a single call."
1122 msgstr ""
1123
1124 #. type: SH
1125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1127 #, no-wrap
1128 msgid "EXAMPLES"
1129 msgstr "폐제"
1130
1131 #. type: Plain text
1132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1134 msgid "An example of the use of B<recvfrom>() is shown in B<getaddrinfo>(3)."
1135 msgstr ""
1136
1137 #. type: SH
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 #, no-wrap
1141 msgid "SEE ALSO"
1142 msgstr "추가 참조"
1143
1144 #. type: Plain text
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1147 msgid ""
1148 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1149 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1150 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1151 msgstr ""
1152 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1153 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1154 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1155
1156 #. type: TH
1157 #: debian-trixie
1158 #, no-wrap
1159 msgid "2024-05-02"
1160 msgstr "2024년 5월 2일"
1161
1162 #. type: TH
1163 #: debian-trixie
1164 #, no-wrap
1165 msgid "Linux man-pages 6.9.1"
1166 msgstr "Linux man-pages 6.9.1"
1167
1168 #. type: Plain text
1169 #: debian-trixie
1170 msgid "Standard C library (I<libc>, I<-lc>)"
1171 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
1172
1173 #. type: Plain text
1174 #: debian-trixie
1175 #, no-wrap
1176 msgid ""
1177 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n"
1178 "B< int >I<flags>B<);>\n"
1179 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n"
1180 "B< int >I<flags>B<,>\n"
1181 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1182 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1183 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1184 msgstr ""
1185
1186 #. type: Plain text
1187 #: debian-trixie
1188 #, no-wrap
1189 msgid "recv(sockfd, buf, len, flags);\n"
1190 msgstr "recv(sockfd, buf, len, flags);\n"
1191
1192 #. type: Plain text
1193 #: debian-trixie
1194 #, no-wrap
1195 msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1196 msgstr "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1197
1198 #. type: Plain text
1199 #: debian-trixie
1200 #, fuzzy
1201 #| msgid ""
1202 #| "All three routines return the length of the message on successful "
1203 #| "completion. If a message is too long to fit in the supplied buffer, "
1204 #| "excess bytes may be discarded depending on the type of socket the message "
1205 #| "is received from (see B<socket>(2))."
1206 msgid ""
1207 "All three calls return the length of the message on successful completion. "
1208 "If a message is too long to fit in the supplied buffer, excess bytes may be "
1209 "discarded depending on the type of socket the message is received from."
1210 msgstr ""
1211 "소켓에 메시지가 없다면, 메시지를 받는 호출은 메시지가 들어올때까지 기다리게되"
1212 "며, 만약 소켓이 넌블럭킹( B<fcntl>(2) 참조)이었다면 결과값은 -1이 되고 errno"
1213 "를 B<EAGAIN>으로 설정한다. 일반적으로 메시지를 받는 호출들은 요구된 양을 모"
1214 "두 채우며 기다리기 보다는 채워진 양을 리턴한다."
1215
1216 #. type: Plain text
1217 #: debian-trixie fedora-44 fedora-rawhide
1218 msgid ""
1219 "Enables nonblocking operation; if the operation would block, the call fails "
1220 "with the error B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior "
1221 "to setting the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> "
1222 "operation), but differs in that B<MSG_DONTWAIT> is a per-call option, "
1223 "whereas B<O_NONBLOCK> is a setting on the open file description (see "
1224 "B<open>(2)), which will affect all threads in the calling process as well as "
1225 "other processes that hold file descriptors referring to the same open file "
1226 "description."
1227 msgstr ""
1228
1229 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
1230 #. type: Plain text
1231 #: debian-trixie
1232 msgid ""
1233 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
1234 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
1235 "(since Linux 3.4) sockets: return the real length of the packet or datagram, "
1236 "even when it was longer than the passed buffer."
1237 msgstr ""
1238
1239 #. type: Plain text
1240 #: debian-trixie
1241 msgid ""
1242 "B<recvfrom>() places the received message into the buffer I<buf>. The "
1243 "caller must specify the size of the buffer in I<len>."
1244 msgstr ""
1245
1246 #. type: Plain text
1247 #: debian-trixie
1248 #, no-wrap
1249 msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1250 msgstr "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1251
1252 #. type: Plain text
1253 #: debian-trixie
1254 #, no-wrap
1255 msgid ""
1256 "struct msghdr {\n"
1257 " void *msg_name; /* Optional address */\n"
1258 " socklen_t msg_namelen; /* Size of address */\n"
1259 " struct iovec *msg_iov; /* Scatter/gather array */\n"
1260 " size_t msg_iovlen; /* # elements in msg_iov */\n"
1261 " void *msg_control; /* Ancillary data, see below */\n"
1262 " size_t msg_controllen; /* Ancillary data buffer len */\n"
1263 " int msg_flags; /* Flags on received message */\n"
1264 "};\n"
1265 msgstr ""
1266
1267 #. type: Plain text
1268 #: debian-trixie
1269 msgid ""
1270 "The I<msg_name> field points to a caller-allocated buffer that is used to "
1271 "return the source address if the socket is unconnected. The caller should "
1272 "set I<msg_namelen> to the size of this buffer before this call; upon return "
1273 "from a successful call, I<msg_namelen> will contain the length of the "
1274 "returned address. If the application does not need to know the source "
1275 "address, I<msg_name> can be specified as NULL."
1276 msgstr ""
1277
1278 #. type: Plain text
1279 #: debian-trixie
1280 #, fuzzy
1281 #| msgid ""
1282 #| "Here I<msg_name> and I<msg_namelen> specify the destination address if "
1283 #| "the socket is unconnected; I<msg_name> may be given as a null pointer if "
1284 #| "no names are desired or required. The fields I<msg_iov> and "
1285 #| "I<msg_iovlen> describe scatter-gather locations, as discussed in "
1286 #| "B<readv>(2). The field I<msg_control>, which has length "
1287 #| "I<msg_controllen>, points to a buffer for other protocol control related "
1288 #| "messages or miscellaneous ancillary data. When B<recvmsg> is called, "
1289 #| "I<msg_controllen> should contain the length of the available buffer in "
1290 #| "I<msg_control>; upon return from a successful call it will contain the "
1291 #| "length of the control message sequence."
1292 msgid ""
1293 "The field I<msg_control>, which has length I<msg_controllen>, points to a "
1294 "buffer for other protocol control-related messages or miscellaneous "
1295 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
1296 "contain the length of the available buffer in I<msg_control>; upon return "
1297 "from a successful call it will contain the length of the control message "
1298 "sequence."
1299 msgstr ""
1300 "I<msg_name>과 I<msg_namelen>은 소켓이 연결되지 않았으면 목적지 주소를 나타낸"
1301 "다. I<msg_name>은 어떤 이름도 원하지 않거나 필요하지 않다면 null 포인터로써 "
1302 "주어진다. I<msg_iov>와 I<msg_iovlen> 필드는 B<readv>(2)처럼 scatter-gather "
1303 "위치를 가리킨다. I<msg_controllen>의 길이를 가지고 있는 I<msg_control>는 메"
1304 "세지나 기타 보조 데이터와 관련된 다른 프로토콜 제어를 위한 버퍼를 가리킨다. "
1305 "B<recvmsg>가 호출될 때, I<msg_controllen>는 I<msg_control>에서 이용할 수 있"
1306 "는 버퍼의 길이를 포함해야 한다. 연속적인 호출에 대한 반환시 연속된 제어 메세"
1307 "지들의 길이를 포함해야 한다."
1308
1309 #. type: Plain text
1310 #: debian-trixie fedora-44 fedora-rawhide
1311 msgid ""
1312 "indicates end-of-record; the data returned completed a record (generally "
1313 "used with sockets of type B<SOCK_SEQPACKET>)."
1314 msgstr ""
1315
1316 #. type: Plain text
1317 #: debian-trixie
1318 msgid ""
1319 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
1320 "permit zero-length datagrams. When such a datagram is received, the return "
1321 "value is 0."
1322 msgstr ""
1323
1324 #. type: Plain text
1325 #: debian-trixie fedora-44 fedora-rawhide
1326 msgid "POSIX.1-2008."
1327 msgstr "POSIX.1-2008."
1328
1329 #. type: Plain text
1330 #: debian-trixie fedora-44 fedora-rawhide
1331 #, fuzzy
1332 #| msgid "4.4BSD (these function calls first appeared in 4.2BSD)."
1333 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
1334 msgstr "4.4BSD (이 함수는 4.2BSD에서 처음 나타났다.)"
1335
1336 #. type: Plain text
1337 #: debian-trixie
1338 msgid ""
1339 "If a zero-length datagram is pending, B<read>(2) and B<recv>() with a "
1340 "I<flags> argument of zero provide different behavior. In this circumstance, "
1341 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1342 "consumes the pending datagram."
1343 msgstr ""
1344
1345 #. type: TH
1346 #: fedora-44 fedora-rawhide
1347 #, no-wrap
1348 msgid "2024-11-17"
1349 msgstr "2024년 11월 17일"
1350
1351 #. type: TH
1352 #: fedora-44 fedora-rawhide
1353 #, no-wrap
1354 msgid "Linux man-pages 6.13"
1355 msgstr "Linux man-pages 6.13"
1356
1357 #. type: Plain text
1358 #: fedora-44 fedora-rawhide
1359 #, no-wrap
1360 msgid ""
1361 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
1362 "B< int >I<flags>B<);>\n"
1363 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
1364 "B< int >I<flags>B<,>\n"
1365 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1366 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1367 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1368 msgstr ""
1369
1370 #. type: Plain text
1371 #: fedora-44 fedora-rawhide
1372 #, fuzzy, no-wrap
1373 #| msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1374 msgid "recvfrom(fd, buf, size, flags, NULL, 0);\n"
1375 msgstr "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1376
1377 #. type: TH
1378 #: mageia-cauldron
1379 #, no-wrap
1380 msgid "Linux man-pages 6.17"
1381 msgstr "Linux man-pages 6.17"
1382
1383 #. type: TH
1384 #: opensuse-leap-16-1 opensuse-tumbleweed
1385 #, no-wrap
1386 msgid "Linux man-pages (unreleased)"
1387 msgstr "Linux man-pages (미공개)"