- Creating a socket with System.in
- Posted by FET on February 27th, 2004
Hello everyone,
I am trying to get xinetd to run my Java application. Xinetd passes
the socket to the java Application as the standard input stream
System.in.
In C++, one can use the socket descriptor 0 to refer to this and
perform IO operations.
In java, System.in is an InputStream. How do I do IO ? I mean, what
data structure do I use to perform IO on this InputStream as if it
were a socket ?
Please help me.
Thanks in advance,
Regards.
Similar Posts
- Test socket on Master Socket not working (Internet & Broadband) by Kevin Cowans
- Socket Error 10038 on Multicast Socket (Development Resources) by Hari
- System Restore not creating Automatic System Check Points (Microsoft Windows) by eli
- creating a double pipe socket-cmd (Development Resources) by svetj
- Creating new system DSN (Windows 2000) by E. Medure

