Solved

Socket Communication behind  LAN

Posted on 2003-10-22
7
238 Views
Last Modified: 2010-04-17
Hello,

 I want my P2P application to works well even when users are behind proxy or LAN.

i.e Two instance of my application should be able to communicate even if they are on different LANs but indirrectly connected to internet.

To elaborate it further, suppose there is a computer on my office LAN running my application. This computer is connected to internet through our Proxy server. Now any other computer which is also on LAN and is  indirectly connected to internet should be able to exchange files. We want to achieve this without installing anything on Proxy server.

I have seen software  KAZAA, which allows different users to exchange files even behind proxies,firewalls. We just need to open a Port on Proxy Server.

How can i achieve this functionality in C#?

Waiting for your valuable reply,
Yassar
 
0
Comment
Question by:Yassar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 4

Accepted Solution

by:
1mak earned 250 total points
ID: 9597330
I think you'll need to have an intermediary server accessible from both proxied machines? I'm sure this is how Kazaa does it?
0
 
LVL 9

Assisted Solution

by:bhagyesht
bhagyesht earned 250 total points
ID: 9597390
make it work on peer to peer basis for intra net for internet -intranet make it client-server or u need a component to be installed on the proxy too which tranlsaltes then ip for your program like a proxy does
0
 
LVL 1

Expert Comment

by:crane-
ID: 9597517
you can't establish a connection between two computers if they both have private addresses in different lans.

don't know details about kazaa, but other similar networks use a kind of adaptive connections, meaning that they use the most direct route in each transfer. what this means in practice is that they use a third party when direct connection can't be made. this is all invisible to the user, so it may seem like they are talking directly to each other.
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 10321817
Split points between bhagyesht and 1mak
Bhagyesh Trivedi
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question