Hi Rachel,
I'm not exactly sure if I really understand your problem but the following code could be what you need:
ServerSocket yourSocket = new ServerSocket(80);
for(;;) {
Socket client = yourSocket.accept( );
...
...
}
Line 1just creates a new Socket with the name yourSocket on port 80(Http).
Line 2 enters an infinite loop.
Line 3 lets the socket wait for the client to connect.
Hope this solves your problem. If you need it I can also give you the full code of a little Http Server. The above is just a little piece.
Cheers,
Joerg
EDIT: I also copied this post to the other thread.
Message was edited by:
trimber