|
-
how to redirect tcp?
Hi all,
Here is my problem:
I have one computer which is connected directly to the internet through a network card and modem. using a second network card i connect a hub and to that hub i connect several computers.
Now, when the computers behind the hub use some network program the info goes out but when data to the port comes back in it cannot find the original computer since it is behind the computer connected to the internet (All computers share the same IP, of course).
Now what i want to do is rather simple. i want to write a program that "catches" incoming traffic through a specific port and redirects it to the same port on a different ip. This program should be put on the computer connected to the internet and theoretically should solve my problem.
I am not sure exactly, however, of how to go by it. If someone could explain to me the correct usage of sockets for this problem or at least link me to some useful source code that does something alike (and i'm pretty sure i'm not the first person with this problem, so there should be plenty out there) i'd be very thankful
tx in advance
Me
Similar Threads
-
Replies: 0
Last Post: 06-10-2006, 05:20 AM
-
Replies: 0
Last Post: 01-03-2006, 11:30 AM
-
By Larry Rebich in forum Web
Replies: 3
Last Post: 05-23-2002, 07:44 AM
-
By Mikael Nyberg in forum Mobile
Replies: 0
Last Post: 06-26-2001, 04:30 AM
-
By Lisa Tang in forum Java
Replies: 0
Last Post: 06-27-2000, 09:27 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks