Sockets.setOption() | Java

 

Descripción

Sintaxis

static <T> void setOption(DatagramSocket s, SocketOption<T> name, T value)
static <T> void setOption(ServerSocket s, SocketOption<T> name, T value)
static <T> void setOption(Socket s, SocketOption<T> name, T value)

Parámetros

  • SocketOption<T> name,
  • Socket s,
  • DatagramSocket s,
  • T value,
  • ServerSocket s,

Clase Padre

Sockets

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.