Condividi tramite


SocketImpl.InterfaceConsts.SoReuseaddr Campo

Definizione

Attenzione

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

Imposta SO_REUSEADDR per un socket.

[Android.Runtime.Register("SO_REUSEADDR")]
[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 SoReuseaddr = 4;
[<Android.Runtime.Register("SO_REUSEADDR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable SoReuseaddr : Java.Net.SocketOption

Valore del campo

Value = 4
Attributi

Commenti

Imposta SO_REUSEADDR per un socket. Questa opzione viene usata solo per MulticastSocket in java ed è impostata per impostazione predefinita per MulticastSockets.

Valido per: DatagramSocketImpl

Documentazione java per java.net.SocketOptions.SO_REUSEADDR.

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