# 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: 2026-06-05 06:42+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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "send" msgstr "" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-10-29" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "send, sendto, sendmsg - send a message on a socket" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Esys/socket.hE>\n" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< int >IB<, const void >IB<[>IB<], size_t >IB<, int >IB<);>\n" "Bsize_t size;\n" "B< int >IB<, const void >IB<[>IB<], size_t >IB<, int >IB<,>\n" "B< const struct sockaddr *>IB<, socklen_t >IB<);>\n" "BIB<, const struct msghdr *>IB<, int >IB<);>\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The system calls B(), B(), and B() are used to " "transmit a message to another socket." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() call may be used only when the socket is in a I " "state (so that the intended recipient is known). The only difference " "between B() and B(2) is the presence of I. With a " "zero I argument, B() is equivalent to B(2). Also, the " "following call" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "send(sockfd, buf, size, flags);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "is equivalent to" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "sendto(sockfd, buf, size, flags, NULL, 0);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The argument I is the file descriptor of the sending socket." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B() is used on a connection-mode (B, " "B) socket, the arguments I and I are " "ignored (and the error B may be returned when they are not NULL and " "0), and the error B is returned when the socket was not actually " "connected. Otherwise, the address of the target is given by I " "with I specifying its size. For B(), the address of the " "target is given by I, with I specifying its " "size." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For B() and B(), the message is found in I and has size " "I. For B(), the message is pointed to by the elements of the " "array I. The B() call also allows sending ancillary " "data (also known as control information)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the message is too long to pass atomically through the underlying " "protocol, the error B is returned, and the message is not " "transmitted." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "No indication of failure to deliver is implicit in a B(). Locally " "detected errors are indicated by a return value of -1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the message does not fit into the send buffer of the socket, B() " "normally blocks, unless the socket has been placed in nonblocking I/O mode. " "In nonblocking mode it would fail with the error B or B " "in this case. The B(2), B(2), " "B(2), B(2), B(2), B(2), B(3), " "B(7), B(7), B(7), B(7), B(7), B(7)" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<, const void >IB<[.>IB<], size_t >IB<, int >IB<);>\n" "BIB<, const void >IB<[.>IB<], size_t >IB<, int >IB<,>\n" "B< const struct sockaddr *>IB<, socklen_t >IB<);>\n" "BIB<, const struct msghdr *>IB<, int >IB<);>\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "send(sockfd, buf, len, flags);\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "sendto(sockfd, buf, len, flags, NULL, 0);\n" msgstr "" #. type: Plain text #: debian-trixie msgid "" "For B() and B(), the message is found in I and has " "length I. For B(), the message is pointed to by the elements " "of the array I. The B() call also allows sending " "ancillary data (also known as control information)." msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct msghdr {\n" " void *msg_name; /* Optional address */\n" " socklen_t msg_namelen; /* Size of address */\n" " struct iovec *msg_iov; /* Scatter/gather array */\n" " size_t msg_iovlen; /* # elements in msg_iov */\n" " void *msg_control; /* Ancillary data, see below */\n" " size_t msg_controllen; /* Ancillary data buffer len */\n" " int msg_flags; /* Flags (unused) */\n" "};\n" msgstr "" #. type: Plain text #: debian-trixie msgid "" "You may send control information (ancillary data) using the I " "and I members. The maximum control buffer length the kernel " "can process is limited per socket by the value in I; see B(7). For further information on the use of " "ancillary data in various socket domains, see B(7) and B(7)." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, const void >IB<[.>IB<], size_t >IB<, int >IB<);>\n" "BIB<, const void >IB<[.>IB<], size_t >IB<, int >IB<,>\n" "B< const struct sockaddr *>IB<, socklen_t >IB<);>\n" "BIB<, const struct msghdr *>IB<, int >IB<);>\n" msgstr "" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""