klyn.net.Socket.Socket
constructor
public Socket() throws IOException:
Description

Creates a socket and connects when endpoint parameters are provided.

Throws
  • IOException if the socket stream is closed, disconnected, times out, or the underlying network I/O fails.