Linguaggio

SocketOptions.SoReuseport Campo

Definizione

Attenzione

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

Imposta SO_REUSEPORT per 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

Valore del campo

Value = 14
Attributi

Commenti

Imposta SO_REUSEPORT per un socket. Questa opzione abilita e disabilita la possibilità di avere più socket in ascolto dello stesso indirizzo e della stessa porta.

Valido per: SocketImpl, DatagramSocketImpl

Aggiunta in 9.

per java.net.SocketOptions.SO_REUSEPORT.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a