I have a modem in annother part of my house. I need to be able to control if from the other side, where there is no phone line.
I have com2tcp installed on the machine with the modem and connected to its com port (com3)
On the other machine I have com2tcp and com0com installed which is allowing me to link hyperterminal to it.
Using a remote desktop application I can monitor the modems status using its application that came with the driver.
If I send a command to the modem, ATH0 for instance, my remote desktop shows me that the modem has gone off hook, but hyperterminal does not show the response. It is not until I have issues 10 or so commands that and command echos or responses get returned, and then its all at once and then the process begins again.
Can I shorten the return buffer as I dont think its small enough?
Thanks in advance
Viperfang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a modem in annother part of my house. I need to be able to control if from the other side, where there is no phone line.
I have com2tcp installed on the machine with the modem and connected to its com port (com3)
On the other machine I have com2tcp and com0com installed which is allowing me to link hyperterminal to it.
Using a remote desktop application I can monitor the modems status using its application that came with the driver.
If I send a command to the modem, ATH0 for instance, my remote desktop shows me that the modem has gone off hook, but hyperterminal does not show the response. It is not until I have issues 10 or so commands that and command echos or responses get returned, and then its all at once and then the process begins again.
Can I shorten the return buffer as I dont think its small enough?
Thanks in advance
Viperfang
You can try to change in com2tcp.cpp
BYTE cbufRead[64];
and/or
BYTE cbufRecv[64];
to
BYTE cbufRead[1];
and
BYTE cbufRecv[1];