🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by Byanex Tue, 06 Sep 2005 19:47
How to make a Application connect to mi Socket!!!
#3494
Author: Byanex
Date: Tue, 06 Sep 2005 19:47
15 lines
1186 bytes
Hello,

I'll try explain the question, i have an application that will 
try to conect to 200.214.25.125 at port 5454, questios is how 
to force this socket to conect to mine in local machine 
listener socket at 127.0.0.1 port 5454, them on another side my 
another socker will connect to real 200.214.25.125 at port 5454.

I another words, i need to do a proxi for only one 
application !!!

Any help will welcome.

Thanks Byanex
Re: How to make a Application connect to mi Socket!!!
#3499
Author: Hans Galema
Date: Wed, 07 Sep 2005 11:59
29 lines
2049 bytes
Byanex wrote:

> ... i have an application that will 
> try to conect to 200.214.25.125 at port 5454, questios is how 
> to force this socket to conect to mine in local machine 
> listener socket at 127.0.0.1 port 5454, them on another side my 
> another socker will connect to real 200.214.25.125 at port 5454.
> 
> I another words, i need to do a proxi for only one 
> application !!!

You do not need a proxy. Is the 127.0.0.1 machine behind a router ?
And the router connected to the internet? Then find out
the internetIP of the router. You can find out that with
a browser on the 127.0.0.1 machine by clicking one of these links:
http://whatismyip.com
http://checkip.dyndns.org
http://www.betteripaddress.com.

You should also find out the -dynamic- IP that the router gave to
the 127.0.0.1 machine. For instance: 192.168.2.3

Then your router has to be configured in such a way that incoming
requests for port 5454 are forwarded to 192.168.2.3 port 5454.

The client on 200.214.25.125 shall connect with the internet IP
of the router and port 5454.

Hans.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads