import java.io.*;import java.net.*;import java.net.InetAddress.*;public class sock {    static public void main(String arg[]) {      try {	InetAddress ia=InetAddress.getByName("192.168.1.111");	if ( arg.length>0 && arg[0].equalsIgnoreCase("-1.3") ) { 	  //	  Socket sock=new Socket(Inet4Address.getByName("192.168.1.1"), 23);	  Socket sock=new Socket(InetAddress.getByName("192.168.1.111"), 23);	  // InputStream inp=sock.getInputStream();	} else {	  //	  Socket sock=new Socket(Inet4Address.getByName("192.168.1.1"), 23);	  InetSocketAddress isa=new InetSocketAddress(ia, 23);	  Socket sock=new Socket();	  sock.connect(isa, 3000);	  // InputStream inp=sock.getInputStream();	  	}      }      catch (Exception e) {	  e.printStackTrace();      }  }}