Lenguaje

SocketOptions.SoReuseport Campo

Definición

Precaución

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

Establece SO_REUSEPORT para un socket.

[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

Valor de campo

Value = 14
Atributos

Comentarios

Establece SO_REUSEPORT para un socket. Esta opción habilita y deshabilita la capacidad de tener varios sockets escuchando la misma dirección y puerto.

Válido para: SocketImpl, DatagramSocketImpl

Agregado en 9.

Java documentación para java.net.SocketOptions.SO_REUSEPORT.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a