Hi, All,
I would like to write a little program to communicate with a romote site
user. The program under Unix starts running whenever it sees a call comming
in and then waits for a command from a remote user. But the remote user does
not log in. He just needs to send a command such as "go" to the program running
under Linux. If the program under Linux successuflly receives the command, it
sends back a string, such as "I go you" and then hangs up.
I am very new to serial programming. Could somebody tell me how to start
quickly ? For example, how to detect a ring and to connect a line, say
/dev/ttyS1. I guess I don't need to setup terminal in this case, do I?
Any replies will be greatly appreciated ?
I am runnnig the Linux, a unix clone, on my 486 PC.
Thanks in advance.
Binglin Yang