OSDN Git Service

Update releases for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man2 / send.2
index 7704e7b..b98ee76 100644 (file)
@@ -144,8 +144,7 @@ Linux 2.6 以降では、このフラグは UDP ソケットでもサポート
 \fI帯域外 (out\-of\-band)\fP データをサポートするソケット (例えば \fBSOCK_STREAM\fP)  で \fI帯域外\fP
 データを送る。下位プロトコルも \fI帯域外\fP データをサポートしている必要がある。
 .SS sendmsg()
-The definition of the \fImsghdr\fP structure employed by \fBsendmsg\fP()  is as
-follows:
+\fBsendmsg\fP() で利用されている \fImsghdr\fP 構造体は以下の通り。
 .in +4n
 .nf
 
@@ -161,22 +160,21 @@ struct msghdr {
 .fi
 .in
 .PP
-The \fImsg_name\fP field is used on an unconnected socket to specify the target
-address for a datagram.  It points to a buffer containing the address; the
-\fImsg_name\fP field should be set to the size of the address.  For a connected
-socket, these fields should be specified as NULL and 0, respectively.
+フィールド \fImsg_name\fP は、 未接続のソケットでデータグラムの宛先アドレスを指定するのに使用される。
+このフィールドはアドレスを格納したバッファを指す。 \fImsg_namelen\fP フィールドにはアドレスの大きさを設定しなければならない。
+接続済のソケットについては、これらのフィールドにはそれぞれ NULL と 0 を指定しなければならない。
 
-The \fImsg_iov\fP and \fImsg_iovlen\fP fields specify scatter\-gather locations, as
-for \fBwritev\fP(2).
+フィールド \fBmsg_iov\fP と \fImsg_iovlen\fP は scatter\-gather 用の場所を指定する。 \fBwritev\fP(2)
+と同じ。
 
-\fImsg_control\fP と \fImsg_controllen\fP メンバーを使用して制御情報を送信することができる。
+フィールド \fImsg_control\fP と \fImsg_controllen\fP を使用して制御情報を送信することができる。
 カーネルが処理できる制御バッファのソケットあたりの最大長は、 \fI/proc/sys/net/core/optmem_max\fP の値に制限されている。
 \fBsocket\fP(7)  を参照。
 
 .\" Still to be documented:
 .\"  Send file descriptors and user credentials using the
 .\"  msg_control* fields.
-The \fImsg_flags\fP field is ignored.
+フィールド \fImsg_flags\fP は無視される。
 .SH 返り値
 成功した場合、これらのシステムコールは送信されたバイト数を返す。 エラーの場合、 \-1 を返し、 \fIerrno\fP を適切に設定にする。
 .SH エラー
@@ -199,11 +197,9 @@ The \fImsg_flags\fP field is ignored.
 2 つの定数が同じ値を持つことも求めていない。 したがって、移植性が必要なアプリケーションでは、両方の可能性を 確認すべきである。
 .TP 
 \fBEAGAIN\fP
-(Internet domain datagram sockets)  The socket referred to by \fIsockfd\fP had
-not previously been bound to an address and, upon attempting to bind it to
-an ephemeral port, it was determined that all port numbers in the ephemeral
-port range are currently in use.  See the discussion of
-\fI/proc/sys/net/ipv4/ip_local_port_range\fP in \fBip\fP(7).
+(インターネットドメインデータグラムソケットの場合) \fIsockfd\fP が参照するソケットがそれ以前にアドレスにバインドされておらず、
+そのソケットに一時ポートをバインドしようとした際に、 一時ポートとして使用する範囲のポート番号がすべて使用中であった。 \fBip\fP(7) の
+\fI/proc/sys/net/ipv4/ip_local_port_range\fP の議論を参照のこと。
 .TP 
 \fBEBADF\fP
 無効なディスクリプターが指定された。