言語

SocketImpl.InterfaceConsts.SoReuseport フィールド

定義

注意事項

This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.

ソケットのSO_REUSEPORTを設定します。

[Android.Runtime.Register("SO_REUSEPORT", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)]
public const Java.Net.SocketOption SoReuseport = 14;
[<Android.Runtime.Register("SO_REUSEPORT", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable SoReuseport : Java.Net.SocketOption

フィールド値

Value = 14
属性

注釈

ソケットのSO_REUSEPORTを設定します。 このオプションでは、複数のソケットが同じアドレスとポートをリッスンする機能を有効および無効にします。

有効: SocketImpl、DatagramSocketImpl

9 に追加されました。

java.net.SocketOptions.SO_REUSEPORTの Java ドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象