Stop Microsoft
Miscellaneous => Programming & Networking => Topic started by: choasforages on 30 September 2002, 07:13
-
ok, is there a c function that will dial the modem then hang up. or a combination of functions.
-
You should use ML instead.
-
In Linux? If so, and if it must be a C program, I would have the C program use the system command "chat" or the system command "wvdial":
system("chat -f chatscript -T 555-1212");
Do a "man chat" for more information on this modem utility.
-
http://www.ziron.com/links/netprog.htm (http://www.ziron.com/links/netprog.htm) has two or three links that are about modems, if you don't want to use an easier (but more system-hogging) way (the one VoidMain pointed out).
-
Actually, I don't think there's a universal library. Doesn't it depend on your OS and arch.?
-
yeah, but it has to hang up FAST. like our current setup. we pick up the phone. and tell the computer to dial. if its a bit slow, we could be hit with a telezapper. and our call doesn't go through.