F
FET
Hello everyone,
I am in a slight soup here.
For people who are familiar with linux, I am trying to invoke a java
app using xinetd. I have gotten the app to run, but it doesn't perform
IO. Xinetd passes the socket descriptor as the standard input i.e
System.in. Therefore, I can simply do BufferedInputStream(System.in)
and then read() from it.
But the problem is, how do I write results back to this stream ?
Please advise.
Thanks in advance.
Regards.
I am in a slight soup here.
For people who are familiar with linux, I am trying to invoke a java
app using xinetd. I have gotten the app to run, but it doesn't perform
IO. Xinetd passes the socket descriptor as the standard input i.e
System.in. Therefore, I can simply do BufferedInputStream(System.in)
and then read() from it.
But the problem is, how do I write results back to this stream ?
Please advise.
Thanks in advance.
Regards.