SocketOptions.SoReuseport 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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文档java.net.SocketOptions.SO_REUSEPORT。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。