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. where is mysdfile.txt file created. where can i fi
View Tutorial          By: Venkatesh at 2014-11-12 10:53:52

2. HI there, thanks for taking time to write this dow
View Tutorial          By: nick at 2012-07-31 10:41:47

3. thank you sir, please provide me string array in d
View Tutorial          By: ravi gupta at 2012-01-17 17:04:33

4. thanks for your code
could you send me the

View Tutorial          By: diana jeng at 2009-04-21 03:50:39

5. This is awesum !!!
easy to understand ....

View Tutorial          By: Sud at 2011-01-19 08:37:55

6. Hi, I have mobile application developed in java w
View Tutorial          By: Meenu at 2008-12-30 02:46:54

7. This works great.. :)

thanks a lot

View Tutorial          By: Ravi at 2010-07-03 23:34:46

8. Post your errors, so that others may help you my f
View Tutorial          By: yogesh at 2010-01-12 00:45:42

9. Thanks for the tips.

I hesitated to

View Tutorial          By: Dick at 2011-10-09 15:21:50

10. plz,sent me a sample j2me programm for chnging col
View Tutorial          By: su at 2007-12-19 21:54:30