How to read input from a port ?
Hi ...
My application takes input from a file.
Now, I want to change it so that it takes input from a local port ..
How can I do it?
Thanks,
RC
Hi ...
My application takes input from a file.
Now, I want to change it so that it takes input from a local port ..
How can I do it?
Thanks,
RC
take a look.
http://java.sun.com/docs/books/tutorial/networking/index.html
BufferedReader reader = new BufferedReader(new InputStreamReader(socket.getInputStream()))
null
Well that works !
Thanks !