1.Uses a socket object to open a socket connection to “www.google.com” on port 80.
2. Constructs a PrintWriter and a BufferedReader from the socket
3. Sends a HTTP request for the page “www.google.com”.
If your PrintWriter is called “out” then you could, for instance use the
code:
out.write("GET /~rdb/page/index.html \n");
out.write("\n")
out.flush();
However a well-formed HTTP GET request could be much longer.
In the above statement, what does well formed HTTP GET request mean?
Can anyone pass on a hint?