here is the thing though.
the server is starting at port 3000 on another host, a separate box..
i don't think anythign else is using port 3000...if it is , it shouldn't.
I just did netstat -a | grep 3000, and it is only my server that is on port 3000
Here is the Server portion of the code that is running on the server box
So, what should the client portion of the code be ? shouldn't it be something like this
My question is , should i call socket.connect() at all??
because in the tutorial http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html
they did not call the connect on the client..they just get the IO streams directly..
Please let me know what I am doing wrong...
All helps are greatly appreciated...!!