JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... kopt (2) fail with the error ENOPROTOOPT . IP_ADD_MEMBERSHIP (Linux 1.2 以降) マルチキャストグループに参加する。 引数は ip_mreqn 構造体である。 struct ip_mreqn { struct in_addr imr_multiaddr; /* IP multicast group address */ struct in_addr imr_addres ... dr グループに参加/脱退するインターフェースの interface index である。 どのインターフェースでもよい場合は 0 にする。 The ip_mreqn structure is available only since Linux 2.2. For compatibility, the old ip_mreq structure (present since Linux 1.2) is st ... ill supported; it differs from ip_mreqn only by not including the imr_ifindex field. (The kernel determines which structure is being passed based on the size pas ... ... とができる。 PACKET_ADD_MEMBERSHIP はバインドを追加し、 PACKET_DROP_MEMBERSHIP はバインドを削除する。これらはいずれも packet_mreq 構造体を引数に取る。 struct packet_mreq { int mr_ifindex; /* インターフェース番号 */ unsigned short mr_type; /* 動作 */ un ... ... として渡す場合に便利。 IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP multicast グループのメンバーを制御する。 引数は struct ipv6_mreq 構造体へのポインター。 IPV6_MTU getsockopt (): ソケットの、既知の path MTU を取得する。ソケットが接続している場合のみ有効で ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。