
Help needed! Communication with modems
<Snip>
Quote:
> I wrote a small program that opened port 2 and dialed the number of the
> second machine. It did this, and the other machine came up with RING and
> sometimes, CONNECT 9600. After this it gets NO CARRIER
If you drop certain RS232 "handshake" lines (especially the DTR), the modem
will respond with disconnecting the phone-line. This in turn will result
in a "NO CARRIER" on the receiving end ...
Quote:
> How do I call from one machine to another ? What do I have to look out
for ?
> It shall only call up the machine, send an id code, answer back, and then
> call up an external ZMODEM program to transfer files.
Be sure the RS232's handshake (DTR, RTS, DSR, etc) lines do their job.
The standard BIOS routines are not equipped for this. They open & close
the connection for every char send ... So, you'll have to use a
third-party RS232 buffer program, a program library (containing the same),
or tackle it the hardware way.
Greetz,
Rudy Wieser