com.sun.rpc
Class ConnectSocket
public class ConnectSocket
Sets up a TCP connection to the server.
This class lets us transmit and receive buffers
of data to a port on a remote server.
It also handles reconnection of broken TCP links.
ConnectSocket(String server, int port, int maxSize)- Construct a new connection to a specified server and port.
|
ConnectSocket
public ConnectSocket(String server,
int port,
int maxSize)
throws IOException Construct a new connection to a specified server and port.
server - The hostname of the serverport - The port number on the servermaxSize - The maximum size of the received reply
finalize
protected void finalize()
throws Throwable