JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ways reliable and don't reorder datagrams); and (since Linux 2.6.4) SOCK_SEQPACKET , for a sequenced-packet socket that is connection-oriented, preserves message boundaries, and delivers messages in the order that they were sent. UNIX ドメインソケットでは、 ... sequenced-packet sockets for local interprocess communication. It consists of two programs. The server program waits for a connection from the client program. The client sends each of its command-line arguments in separate messages. The server treats the i ... nt 3 4 Result = 7 $ ./client 11 -5 Result = 6 $ ./client DOWN Result = 0 [1]+ Done ./server $ プログラムのソース /* * File connection.h */ #define SOCKET_NAME "/tmp/9Lq7BNBnBycd6nxy.socket" #define BUFFER_SIZE 12 /* * File server.c */ #include < stdio.h > ... ... ョンのパケットにマッチする (mask が指定されると、 比較の前に mask との論理積 (AND) がとられる)。 conntrack コネクション追跡 (connection tracking) と組み合わせて使用した場合に、 このモジュールを使うと、 パケットやコネクションの追跡状態を知ることができる。 [ ! ... ] --ctstate statelist statelist はマッチするコネクション状態 (connection state) のリストで、 コンマ区切りで指定する。 指定できる状態のリストは後述。 [ ! ] --ctproto l4proto 指定されたレイヤ 4 のプ ... 範囲指定はカーネル 2.6.38 以降でのみサポートされている。 [ ! ] --ctstatus statelist statuslist はマッチするコネクション状況 (connection status) のリストで、 コンマ区切りで指定する。 指定できる状況のリストは後述。 [ ! ] --ctexpire time [ : time ] 有効期間の残 ... ... は、ローカルのファイアウォールの 規則により接続の要求が失敗した。 EACCES can also be returned if an SELinux policy denied a connection (for example, if there is a policy saying that an HTTP proxy can only connect to ports associated with HTTP servers, and t ... ィールドが正しいアドレスファミリーではない。 EAGAIN For nonblocking UNIX domain sockets, the socket is nonblocking, and the connection cannot be completed immediately. For other socket families, there are insufficient entries in the routing cache. EALREADY ... e address. EFAULT ソケット構造体のアドレスがユーザーのアドレス空間外にある。 EINPROGRESS The socket is nonblocking and the connection cannot be completed immediately. (UNIX domain sockets failed with EAGAIN instead.) It is possible to select (2) or poll (2 ... ... RP-PPPoE パッケージとともに動作し、HTML マニュアルがある。 ファイル /etc/ppp/rp-pppoe-gui/connection-info 接続情報が書かれる。 このファイルは人間が編集できない。 /etc/ppp/rp-pppoe-gui/passwd 各接続のパスワードが書かれる。 こ ... ... uf, len, flags, NULL, 0); 引数 sockfd は、データを送信するパケットのファイルディスクリプターである。 sendto () は、接続型 (connection-mode) のソケット ( SOCK_STREAM , SOCK_SEQPACKET ) で 使用された場合、引数 dest_addr と addrlen は無視される (各々の引数が ... 参照)。 MSG_NOSIGNAL (Linux 2.2 以降) Don't generate a SIGPIPE signal if the peer on a stream-oriented socket has closed the connection. The EPIPE error is still returned. This provides similar behavior to using sigaction (2) to ignore SIGPIPE , but, whereas ... ープンされたファイルディスクリプターでない。 ECONNRESET 接続が接続相手によりリセットされた。 EDESTADDRREQ ソケットが接続型 (connection-mode) ではなく、 かつ送信先のアドレスが設定されていない。 EFAULT ユーザー空間として不正なアドレスがパラメーターとして指定さ ... ... uf, len, flags, NULL, 0); 引数 sockfd は、データを送信するパケットのファイルディスクリプターである。 sendto () は、接続型 (connection-mode) のソケット ( SOCK_STREAM , SOCK_SEQPACKET ) で 使用された場合、引数 dest_addr と addrlen は無視される (各々の引数が ... 参照)。 MSG_NOSIGNAL (Linux 2.2 以降) Don't generate a SIGPIPE signal if the peer on a stream-oriented socket has closed the connection. The EPIPE error is still returned. This provides similar behavior to using sigaction (2) to ignore SIGPIPE , but, whereas ... ープンされたファイルディスクリプターでない。 ECONNRESET 接続が接続相手によりリセットされた。 EDESTADDRREQ ソケットが接続型 (connection-mode) ではなく、 かつ送信先のアドレスが設定されていない。 EFAULT ユーザー空間として不正なアドレスがパラメーターとして指定さ ... ... uf, len, flags, NULL, 0); 引数 sockfd は、データを送信するパケットのファイルディスクリプターである。 sendto () は、接続型 (connection-mode) のソケット ( SOCK_STREAM , SOCK_SEQPACKET ) で 使用された場合、引数 dest_addr と addrlen は無視される (各々の引数が ... 参照)。 MSG_NOSIGNAL (Linux 2.2 以降) Don't generate a SIGPIPE signal if the peer on a stream-oriented socket has closed the connection. The EPIPE error is still returned. This provides similar behavior to using sigaction (2) to ignore SIGPIPE , but, whereas ... ープンされたファイルディスクリプターでない。 ECONNRESET 接続が接続相手によりリセットされた。 EDESTADDRREQ ソケットが接続型 (connection-mode) ではなく、 かつ送信先のアドレスが設定されていない。 EFAULT ユーザー空間として不正なアドレスがパラメーターとして指定さ ... ... following values: LOG_CONS エラーがあれば、システムロガーに送る一方でシステムコンソールにも直接書く。 LOG_NDELAY Open the connection immediately (normally, the connection is opened when the first message is logged). This may be useful, for example, if a s ... ... following values: LOG_CONS エラーがあれば、システムロガーに送る一方でシステムコンソールにも直接書く。 LOG_NDELAY Open the connection immediately (normally, the connection is opened when the first message is logged). This may be useful, for example, if a s ... ... following values: LOG_CONS エラーがあれば、システムロガーに送る一方でシステムコンソールにも直接書く。 LOG_NDELAY Open the connection immediately (normally, the connection is opened when the first message is logged). This may be useful, for example, if a s ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。