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. good explanation with sample example makes me to u
View Tutorial          By: jagan.java at 2013-01-04 09:10:21

2. This is really helpful, i'm planning to also add a
View Tutorial          By: JhunZhen at 2011-07-09 21:42:32

3. its really helpful.thanks a lot
View Tutorial          By: bena at 2015-03-04 10:39:46

4. Thanx................!!!!!!!!!!!
View Tutorial          By: ankita at 2012-01-21 19:16:54

5. it absolutely very usefull for me
Thanks

View Tutorial          By: sudhir Kr Singh at 2012-07-24 05:17:52

6. Simple and easy code..........
View Tutorial          By: mandalson at 2011-12-24 04:08:12

7. Thanks a lot.
View Tutorial          By: Nirwana at 2009-04-24 05:17:10

8. its useful code.
but i want to write in a f

View Tutorial          By: SARWAR at 2011-08-02 06:26:37

9. Hi,

This is very nice tutorial to

View Tutorial          By: Robvandam at 2010-05-03 00:29:38

10. hi ashraf , ramlak and all,
i m new here .

View Tutorial          By: hemendra at 2009-12-28 21:59:34