port « API « Java I/O Q&A





1. How to clear the OutputStream of a SerialPort in java, without having to close it?    stackoverflow.com

I'm using the SerialPort class to connect to a USB modem and send an SMS. I can succesfully send a message. But when I do, there seems to be some data that comes ...

2. inputstream.available() is 0 always    stackoverflow.com

I have no idea of what is happening to my code. i am getting no errors and no response as well. I am writing the data to the serialport and waiting ...

3. Router port forwarding and rtsp streaming problem    stackoverflow.com

I'm using vlcj to stream (RTSP) video. The problem is I am behind a router and dd-wrt only forwards and open ports if there is an application that is listening. But, I ...

4. PrintWriter.checkError() hangs or takes too much time    stackoverflow.com

I'm trying to print a ticket to the LPT1 port using Java, everything works fine if the printer is properly installed, but when it's not and thus it gives an error, ...

5. QBASIC PRINT --> COM port OutputStream.write()    coderanch.com

Hi ranchers. A quick question that someone with some QBASIC experience might be able to clear up v.quickly. I'm porting an old QBASIC program that communicates with a piece of scientific hardware over COM1 on a win pc. I can see from console output of both programs that the string I'm building for each command ready to send to the port ...

6. How to open a input stream to ethernet port    coderanch.com

Java is an applications programming language, and what you're talking about is systems programming. However, Java can bridge that gap using JNI, the Java Native Interface, which allows it to call into code written in a systems programming language like C. You could roll your own solution, or look into third-party frameworks. I found a few by Googling for "Java raw ...

7. com port reader    coderanch.com