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

Creates an unconnected socket. Example: socket = Socket().

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