Home » Questions » Computers [ Ask a new question ]

Which tool can be used to connect two TCP/IP servers? [closed]

Which tool can be used to connect two TCP/IP servers? [closed]

The tool should connect to any two TCP/IP servers and transparently route sends and receives between them. The tool should connect to both the TCP/IP servers and transparently forward any data it receives between the two.

Asked by: Guest | Views: 325
Total answers/comments: 2
Guest [Entry]

"NOTE: Answer is completely revised based upon clarifications.

OP has two servers, both listening. One sends out data, the other is waiting for it to come in. But they are both listeners, and require a TCP/IP client to connect to both of them at the same time.

You need, essentially, a pipe program, that connects to both of the servers at the same time, and whatever is sent out of one server should be sent to the other.

Checkout the netcat program (Windows version available here). You might be able to do something like this:

nc <send svr> <send svr port> | nc <recv svr> <recv svr port>"
Guest [Entry]

Based on the revised text, "You need, essentially, a pipe program, that connects to both of the servers at the same time, and whatever is sent out of one socket should be put into the other.", this sounds to me like a load balancer. And for this, you might actually look at load balancing / failover hardware. And this kind of connection is best managed by hard-ware based devices.