TCP Server/Client/Forwarder

dwilkinson asked 2 years ago

Hi

Pardon the very basicness of this question but I just cant work it out.

I have some software that will connect to and IP address and Port number in order to receive tcp strings from it.

To add this as a source in the software, the software must be able to connect to this socket.

What I need is some software or code to accomplish the following, if anyone can help that would be great;

Listener running on 127.0.0.1:9000. On receipt of any string forward to 127.0.0.1:9001. However the tricky thing is, I need port 9001 to be active all the time in order for it to be a source in the software.

I have tried using 3 pieces of software all at the same time but because things are binded to things already it makes it hard to be able to get the software to receive the strings.

Thanks in advance.
Dan

1 Answers
Shnerdly Staff answered 2 years ago

Thanks for your question dwilkinson.

I'm not a programer but the IP you are using is ALWAYS reserved as the internal IP of you computer, ie: LocalHost. So it seems to me that with 127.0.0.1, you are keeping the request from getting to the Internet or even to your local network. I don't know if this is your problem or not.

Know the answer? Login or sign up for an account to answer this question.
Sign Up