Hello,
I have a problem with the com2tcp application and hopefully someone can help me.
I have
PC A:
com0com COM2 and COM3 and com2TCP on COM3
application a uses Com2 and posts to COM3
com2TCP runs in client mode with following start up
com2tcp.exe \\.\COM3 xxx.xxx.xxx.xxx 5001
PC B:
Server application waiting on port 5001
Problem
this works perfect as long as on PC B the Server is running.
As soon as the server closes down I got on the dosbox of com2tcp on PC A the message
ERROR unknown error (10061)
I need urgent help here because the system should go live and serial connection is no longer available.
Any help is highly apreciated and many thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. I have a problem with com2tcp and driver test 4.14.0.688 applications. I create a pair of linked com ports in the com0com application. Next, I enter the command at the command prompt com2tcp.exe \. \ COM4 192.168. x. x 7778 (screenshot 1). Next, I click search for devices in the driver test app(screenshot 2). As a result, the error is 10061. All actions are performed on the same computer(windows 10 x64). Ping to the device is present(screenshot 3). Port 7788 is registered in the cash register itself(screenshot 4). Changing the ports and IP address of the cash register does not help. Emulating com ports in another application also didn't help. Please tell me what the problem may be.
Hello,
I have a problem with the com2tcp application and hopefully someone can help me.
I have
PC A:
com0com COM2 and COM3 and com2TCP on COM3
application a uses Com2 and posts to COM3
com2TCP runs in client mode with following start up
com2tcp.exe \\.\COM3 xxx.xxx.xxx.xxx 5001
PC B:
Server application waiting on port 5001
Problem
this works perfect as long as on PC B the Server is running.
As soon as the server closes down I got on the dosbox of com2tcp on PC A the message
ERROR unknown error (10061)
I need urgent help here because the system should go live and serial connection is no longer available.
Any help is highly apreciated and many thanks in advance
The error 10061 means connection refused.
Possible the following wrapper will help:
---com2tcp.bat---
:begin
com2tcp.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
goto begin
-----------------
Hello I had the same error : ERROR unknown error (10061)
I my case, I was using the following program arguments:
"com2tcp -baud 57600 \\.\COM3 192.168.0.100 10001"
which seems to be WRONG.
The error disappears when I remove the IP address. So the valid program arguments was:
"com2tcp -baud 57600 \\.\COM3 10001"
Maybe, it will help somebody.
desroc01
By the way, I also had a problem running the com2tcp on a vista 64-bit machine. The software was starting but it was not 'redirecting' the data.
My solution was to recompile the project on the vista machine.
desroc01
Hello. I have a problem with com2tcp and driver test 4.14.0.688 applications. I create a pair of linked com ports in the com0com application. Next, I enter the command at the command prompt com2tcp.exe \. \ COM4 192.168. x. x 7778 (screenshot 1). Next, I click search for devices in the driver test app(screenshot 2). As a result, the error is 10061. All actions are performed on the same computer(windows 10 x64). Ping to the device is present(screenshot 3). Port 7788 is registered in the cash register itself(screenshot 4). Changing the ports and IP address of the cash register does not help. Emulating com ports in another application also didn't help. Please tell me what the problem may be.