Client Browser
Hello,
I am writing a WebServer Class and would like browser to be my client...
I am wander how I pass in the "http://xxx.xxx:80/~hello" to the server ...?
Just don't really understand ...
This is what I am writting now ...
int port = 80;
ServerSocket listener =new ServerSocket(port,1);
Socket connection = listener.accept();
My code is wrong I think. I do not know how to establish a connection with browser.
Another question,
how do I compile the code... is it javac *.java and then when executing the server ... is Java Server for example ...
Thanks .. hope you can help me ...
Message was edited by:
BB81

