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



Ask a Question

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. I just copied this example to my app. It's not wor
View Tutorial          By: jhansi at 2012-02-22 10:26:17

2. hai...
i am completed MCA am good at java.

View Tutorial          By: HEMALATHA at 2013-08-03 10:04:57

3. good for learners
View Tutorial          By: muhammed at 2012-11-20 10:38:28

4. can u give a gud example on command line arguments
View Tutorial          By: shravan at 2010-04-09 23:11:18

5. The above code works for me. When I run the progra
View Tutorial          By: Avinash at 2011-12-01 10:20:19

6. is there any way to generate report without seagat
View Tutorial          By: Roshni at 2012-10-01 09:32:41

7. Gives a syntax error
View Tutorial          By: Siddharth at 2015-06-10 05:15:00

8. Using HTTP Redirect as per your suggesion, worked
View Tutorial          By: Balram at 2008-03-21 01:27:02

9. Incomplete article; Singleton session bean? And re
View Tutorial          By: vaibhav sakpal at 2013-08-29 07:35:37

10. This will give the output check it out


View Tutorial          By: shruthi at 2013-01-18 06:00:08