ServerSocketFactory.createServerSocket() | Java

 

Descripción

Sintaxis

public ServerSocket createServerSocket() throws IOException
public abstract ServerSocket createServerSocket(int port) throws IOException
public abstract ServerSocket createServerSocket(int port, int backlog) throws IOException
public abstract ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException

Parámetros

  • int port,
  • int backlog,
  • InetAddress ifAddress,

Excepciones

SecurityException, IllegalArgumentException, IOException

Clase Padre

ServerSocketFactory

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.