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. Thanks for the clear illustration of the MVC2 arch
View Tutorial          By: Tayo at 2010-01-03 12:53:46

2. Thanks for the useful tutorials abt strtus 1 vs St
View Tutorial          By: Sudharsan at 2011-12-03 11:54:58

3. Very good explanation along with the example. Can
View Tutorial          By: Divya at 2010-09-21 03:05:10

4. Hi every body.. I accomplished the task of sending
View Tutorial          By: Ashray P Shetty at 2010-11-18 06:25:54

5. It encourage the learners

Learners

View Tutorial          By: sureshkumar p at 2010-12-22 04:13:04

6. why are we using it ch = str.charAt(i);
View Tutorial          By: Rumman at 2014-10-10 19:42:42

7. Hi This is very fine to understanding struts flo
View Tutorial          By: Abinash at 2011-06-28 08:27:18

8. hello sir,
i am create project autosubtitle

View Tutorial          By: Dilip Gauswami at 2013-12-01 06:46:34

9. nice
View Tutorial          By: knraju at 2012-04-13 13:49:57

10. pritnt
1 2 3 4 5

View Tutorial          By: osama at 2013-02-05 03:16:15