Comment on Tutorial - Read from a COM port using Java program By Steven Lim



Comment Added by : Ben Hallinan

Comment Added at : 2008-04-25 08:36:42

Comment on Tutorial : Read from a COM port using Java program By Steven Lim
Hi Steven. It looks like your example program does something similar to what I need to do. I want to write a program which will wait for incoming calls from another computer. The other computer will be sending an order over the telephone line. I'm trying to understand whether such a listening program needs to "answer" the call or will this happen automatically in your program code above.

I would have suspected that the program should wait for the Ring Indicator event and then send a command to the modem in order to answer the call. After the call has been answered it would then start to respond to the Data Available event. Am I wrong about this? Thanks!


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Can you send me the full code for sending sms usin
View Tutorial          By: Tamizh chelvam at 2014-03-24 17:30:52

2. Can you explain when the user input through the ab
View Tutorial          By: mujmil at 2008-02-11 18:46:00

3. Hi mounika, Did you download and install the javac
View Tutorial          By: Ramlak at 2008-04-27 05:49:42

4. "This happens immediately, and before any oth
View Tutorial          By: David at 2007-10-02 06:52:20

5. that was useful to me, thank you so much .
View Tutorial          By: ahmed at 2010-01-11 15:59:42

6. Very good. but why i can search data then report v
View Tutorial          By: ARMAN AHMED at 2015-04-27 13:18:04

7. Very usefull tutorial, but I've got a question:
View Tutorial          By: Wolfgang Marcos at 2011-05-16 11:12:19

8. class Evaluate
{
public static void

View Tutorial          By: prajjawal at 2013-02-27 12:36:58

9. plz send java object class with examples
View Tutorial          By: naidu at 2009-07-18 00:00:16

10. Nice Article, but these concepts are pretty confus
View Tutorial          By: Goldest at 2011-03-18 01:50:50