Descripción
Sintaxis
protected abstract void connect(String host, int port) throws IOException
protected abstract void connect(InetAddress address, int port) throws IOException
protected abstract void connect(SocketAddress address, int timeout) throws IOException
Parámetros
- int timeout,
- InetAddress address,
- String host,
- int port,
- SocketAddress address,
Excepciones
Clase Padre
Ejemplo
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.