 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Byanex Guest
|
Posted: Tue Sep 06, 2005 7:47 pm Post subject: How to make a Application connect to mi Socket!!! |
|
|
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
|
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Wed Sep 07, 2005 11:59 am Post subject: Re: How to make a Application connect to mi Socket!!! |
|
|
Byanex wrote:
| Quote: | ... 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.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|