JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 2 of about 2 for iovecs (0.001 sec.)
Man page of RECVMMSG 11228
RECVMMSG Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 recvmmsg - 複数のメッセージをソケットから受信する 書式 #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < sys/socket.h > int recvmmsg ... #define BUFSIZE 200 #define TIMEOUT 1 int sockfd, retval; struct sockaddr_in addr; struct mmsghdr msgs[VLEN]; struct iovec iovecs[VLEN]; char bufs[VLEN][BUFSIZE+1]; struct timespec timeout; sockfd = socket(AF_INET, SOCK_DGRAM, 0); if (sockfd == -1) { p ... of(addr)) == -1) { perror("bind()"); exit(EXIT_FAILURE); } memset(msgs, 0, sizeof(msgs)); for (int i = 0; i < VLEN; i++) { iovecs[i].iov_base = bufs[i]; iovecs[i].iov_len = BUFSIZE; msgs[i].msg_hdr.msg_iov = &iovecs[i]; msgs[i].msg_hdr.msg_iovlen = 1; ...
https://man.mtool.work/man/20260915/man2/recvmmsg.2.html
Man page of SOCKET 7485
SOCKET Section: Linux Programmer's Manual (7) Updated: 2020-08-13 Index JM Home Page 名前 socket - Linux のソケットインターフェース 書式 #include < sys/socket.h > sockfd = socket(int socket_family , int socket_type , int protocol ); 説明 こ ... ーバルな入力キューにおける最大のパケット数。 optmem_max ソケットあたりの、補助データ (ancillary data) とユーザー制御データ (iovecs のようなもの) との和の最大長。 ioctl 以下に示す操作には ioctl (2) を用いてアクセスできる。 error = ioctl( ip_socket , ioct ...
https://man.mtool.work/man/20260915/man7/socket.7.html
PREV 1 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。