Lenguaje

Socket.KeepAlive Propiedad

Definición

Comprueba si SocketOptions#SO_KEEPALIVE SO_KEEPALIVE está habilitado. -o bien- Habilitar o deshabilitar SocketOptions#SO_KEEPALIVE SO_KEEPALIVE.

public virtual bool KeepAlive { [Android.Runtime.Register("getKeepAlive", "()Z", "GetGetKeepAliveHandler")] get; [Android.Runtime.Register("setKeepAlive", "(Z)V", "GetSetKeepAlive_ZHandler")] set; }
[<get: Android.Runtime.Register("getKeepAlive", "()Z", "GetGetKeepAliveHandler")>]
[<set: Android.Runtime.Register("setKeepAlive", "(Z)V", "GetSetKeepAlive_ZHandler")>]
member this.KeepAlive : bool with get, set

Valor de propiedad

que boolean indica si está habilitado o no SocketOptions#SO_KEEPALIVE SO_KEEPALIVE .

Atributos

Excepciones

Comentarios

Documentación del captador de propiedades:

Comprueba si SocketOptions#SO_KEEPALIVE SO_KEEPALIVE está habilitado.

Agregado en la versión 1.3.

Java documentación para java.net.Socket.getKeepAlive().

Documentación del establecedor de propiedades:

Habilite o deshabilite SocketOptions#SO_KEEPALIVE SO_KEEPALIVE.

Agregado en la versión 1.3.

Java documentación para java.net.Socket.setKeepAlive(boolean).

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