Linguaggio

SocketImpl.InterfaceConsts.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.

Documentazione java per java.net.SocketOptions.SO_REUSEPORT.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a