# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2024-06-01 06:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "recv" msgstr "" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.8" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "recv, recvfrom, recvmsg - receive a message from a socket" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Esys/socket.hE>\n" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, void >IB<[.>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "BIB<, void >IB<[restrict .>IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B(), B(), and B() calls are used to receive " "messages from a socket. They may be used to receive data on both " "connectionless and connection-oriented sockets. This page first describes " "common features of all three system calls, and then describes the " "differences between the calls." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The only difference between B() and B(2) is the presence of " "I. With a zero I argument, B() is generally equivalent " "to B(2) (but see NOTES). Also, the following call" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "recv(sockfd, buf, len, flags);\n" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "is equivalent to" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "All three calls return the length of the message on successful completion. " "If a message is too long to fit in the supplied buffer, excess bytes may be " "discarded depending on the type of socket the message is received from." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If no messages are available at the socket, the receive calls wait for a " "message to arrive, unless the socket is nonblocking (see B(2)), in " "which case the value -1 is returned and I is set to B or " "B. The receive calls normally return any data available, up to " "the requested amount, rather than waiting for receipt of the full amount " "requested." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "An application can use B(2), " "B(2), B(2), B(3), B(3), B(7), " "B(7), B(7), B(7), B(7), B(7)" msgstr "" #. type: TH #: debian-bookworm #, no-wrap msgid "2022-12-03" msgstr "" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "" #. type: Plain text #: debian-bookworm fedora-40 mageia-cauldron opensuse-leap-15-6 msgid "" "Enables nonblocking operation; if the operation would block, the call fails " "with the error B or B. This provides similar behavior " "to setting the B flag (via the B(2) B " "operation), but differs in that B is a per-call option, " "whereas B is a setting on the open file description (see " "B(2)), which will affect all threads in the calling process and as " "well as other processes that hold file descriptors referring to the same " "open file description." msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "#define SO_EE_ORIGIN_NONE 0\n" "#define SO_EE_ORIGIN_LOCAL 1\n" "#define SO_EE_ORIGIN_ICMP 2\n" "#define SO_EE_ORIGIN_ICMP6 3\n" msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "struct sock_extended_err\n" "{\n" " uint32_t ee_errno; /* Error number */\n" " uint8_t ee_origin; /* Where the error originated */\n" " uint8_t ee_type; /* Type */\n" " uint8_t ee_code; /* Code */\n" " uint8_t ee_pad; /* Padding */\n" " uint32_t ee_info; /* Additional information */\n" " uint32_t ee_data; /* Other data */\n" " /* More data may follow */\n" "};\n" msgstr "" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n" msgstr "" #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f #. type: Plain text #: debian-bookworm msgid "" "For raw (B), Internet datagram (since Linux 2.4.27/2.6.8), " "netlink (since Linux 2.6.22), and UNIX datagram (since Linux 3.4) sockets: " "return the real length of the packet or datagram, even when it was longer " "than the passed buffer." msgstr "" #. type: Plain text #: debian-bookworm msgid "" "POSIX.1-2001, POSIX.1-2008, 4.4BSD (these interfaces first appeared in " "4.2BSD)." msgstr "" #. type: Plain text #: debian-bookworm msgid "The I type was invented by POSIX. See also B(2)." msgstr "" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "" #. type: TH #: fedora-rawhide #, no-wrap msgid "2024-02-18" msgstr "" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-04-03" msgstr "" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""