JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... であれば、このシステムコールは addr で指定されたアドレスに結び付けられたソケットに対する接続の 作成を試みる。 Some protocol sockets (e.g., UNIX domain stream sockets) may successfully connect () only once. Some protocol sockets (e.g., datagram sockets in ... the UNIX and Internet domains) may use connect () multiple times to change their association. Some protocol sockets (e.g., TCP sockets as well as datagram sockets in the UNIX and Internet domains) may dissolve the association by connectin ... AFNOSUPPORT 渡されたアドレスの sa_family フィールドが正しいアドレスファミリーではない。 EAGAIN For nonblocking UNIX domain sockets, the socket is nonblocking, and the connection cannot be completed immediately. For other socket families, there are insuf ... ... , for a datagram-oriented socket that preserves message boundaries (as on most UNIX implementations, UNIX domain datagram sockets are always reliable and don't reorder datagrams); and (since Linux 2.6.4) SOCK_SEQPACKET , for a sequenced-packet socket t ... イトが存在する保証はない (「バグ」を参照)。 Pathname socket ownership and permissions In the Linux implementation, pathname sockets honor the permissions of the directory they are in. Creation of a new socket fails if the process does not have write and ... thname socket can be changed (using chown (2) and chmod (2)). 抽象ソケット Socket permissions have no meaning for abstract sockets: the process umask (2) has no effect when binding an abstract socket, and changing the ownership and permissions of the ob ... ... rotocol in the IP header to be received or sent. Valid values for protocol include: • 0 and IPPROTO_TCP for tcp (7) stream sockets; • 0 and IPPROTO_UDP for udp (7) datagram sockets; • IPPROTO_SCTP for sctp (7) stream sockets; and • IPPROTO_UDPLITE for u ... dplite (7) datagram sockets. For SOCK_RAW you may specify a valid IANA IP protocol defined in RFC 1700 assigned numbers. あるプロセスで、やってくるパケ ... that has the CAP_NET_BIND_SERVICE capability in the user namespace governing its network namespace) may bind (2) to these sockets. Note that the raw IPv4 protocol as such has no concept of a port, they are implemented only by higher protocols like tcp ... ... ACH_REUSEPORT_CBPF ) or an extended BPF ( SO_ATTACH_REUSEPORT_EBPF ) program which defines how packets are assigned to the sockets in the reuseport group (that is, all sockets which have SO_REUSEPORT set and are using the same local address to receive p ... m must return an index between 0 and N-1 representing the socket which should receive the packet (where N is the number of sockets in the group). If the BPF program returns an invalid index, socket selection will fall back to the plain SO_REUSEPORT mech ... anism. Sockets are numbered in the order in which they are added to the group (that is, the order of bind (2) calls for UDP sockets or th ... ... び出すべきである。 標準ライブラリの実装者やカーネルハッカーのみが socketcall () について知る必要がある。 call マニュアル SYS_SOCKET socket (2) SYS_BIND bind (2) SYS_CONNECT connect (2) SYS_LISTEN listen (2) SYS_ACCEPT accept (2) SYS_GETSOCKNAME getsocknam ... などが独立したシステムコールとして実装されている。 On x86-32, socketcall () was historically the only entry point for the sockets API. However, starting in Linux 4.3, direct system calls are provided on x86-32 for the sockets API. This facilitates the ... creation of seccomp (2) filters that filter sockets system calls (for new user-space binaries that are compiled to use the new entry points) and also provides a (very) small ... ... w are done in domain-specific code, and before Linux 3.7 not all domains performed these checks. Most notably, UNIX domain sockets simply ignored invalid values. This problem was fixed for UNIX domain sockets in Linux 3.7. 関連項目 close (2), connect (2 ... ... と、このプロトコルを用いる。 これらの引数の詳細は socket (2) を参照のこと。 The file descriptors used in referencing the new sockets are returned in sv[0] and sv[1] . The two sockets are indistinguishable. 返り値 On success, zero is returned. On error, -1 ... ... ) AF_X25 ITU-T X.25 / ISO-8208 プロトコル x25 (7) AF_INET6 IPv6 インターネットプロトコル ipv6 (7) AF_DECnet DECet protocol sockets AF_KEY Key management protocol, originally developed for usage with IPsec AF_NETLINK カーネルユーザーインターフェースデバイ ... ス netlink (7) AF_PACKET 低レベルのパケットインターフェース packet (7) AF_RDS Reliable Datagram Sockets (RDS) protocol rds (7) rds-rdma (7) AF_PPPOX Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE) AF_LL ... AF_MPLS Multiprotocol Label Switching AF_CAN Controller Area Network automotive bus protocol AF_TIPC TIPC, "cluster domain sockets" protocol AF_BLUETOOTH Bluetooth low-level socket protocol AF_ALG カーネルの暗号 API へのインターフェース AF_VSOCK VSOCK ( ... ... のソケットすべてをサポートする。 コントローラの 2 番のペアは 0x3e2-0x3e3 を利用する。 この位置をプローブするかどうかは extra_sockets パラメータによって制御できる。 これは ISA ブリッジにのみ影響する。 PCI ブリッジのプローブは 複数のコントローラを自動的に取 ... 状態に保たれるので、 このオプションはカードサービスと共存できない ポイントイネーブラを持つカードに用いるとよいだろう。 extra_sockets= n ドライバのプローブを 8 つの ISA ソケットに対して行わせるか、 4 つのソケットに対して行ったところで終了させるかを示すフラ ... ... since Linux 2.6.39) Range of the group IDs (minimum and maximum group IDs, inclusive) that are allowed to create ICMP Echo sockets. The default is "1 0", which means no group is allowed to create ICMP Echo sockets. バージョン ICMP_ADDRESS 要求に対するサ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。