OSDN Git Service

Update releases for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man2 / recv.2
index f2bdd28..39a1049 100644 (file)
@@ -227,15 +227,13 @@ struct msghdr {
 .fi
 .in
 .PP
-The \fImsg_name\fP field points to a caller\-allocated buffer that is used to
-return the source address if the socket is unconnected.  The caller should
-set \fImsg_namelen\fP to the size of this buffer before this call; upon return
-from a successful call, \fImsg_name\fP will contain the length of the returned
-address.  If the application does not need to know the source address,
-\fImsg_name\fP can be specified as NULL.
+フィールド \fImsg_name\fP は、 ソケットが接続されていない場合に送信元アドレスを返すのに使用されるバッファを指す。
+このバッファは呼び出し元が確保する。 呼び出し元は呼び出し前に \fImsg_namelen\fP にこのバッファの大きさを設定しなければならない。
+呼び出しが成功した場合、呼び出しから返って来た際には \fImsg_namelen\fP には返されるアドレスの長さが入っている。
+アプリケーションが送信元アドレスを知る必要がない場合には、 \fImsg_name\fP に NULL を指定することができる。
 
-\fImsg_iov\fP と \fImsg_iovlen\fP フィールドは、分解/結合用のベクトル (scatter\-gather locations)
\82\92æ\8c\87å®\9aã\81\99ã\82\8bã\80\82 \fBreadv\fP(2) ã\81«èª¬æ\98\8eã\81\8cã\81\82ã\82\8bã\80\82
+\fImsg_iov\fP と \fImsg_iovlen\fP フィールドは scatter\-gather 用の場所を指定する。 \fBreadv\fP(2)
+に説明がある。
 
 \fImsg_control\fP フィールドは \fImsg_controllen\fP の長さを持ち、他のプロトコル制御メッセージや
 種々の補助データのためのバッファへのポインタである。 \fBrecvmsg\fP()  を呼ぶ際には、 \fImsg_controllen\fP に