Socket Communication behind LAN

Y

Yassar

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
 
G

Girish Bharadwaj

Yassar said:
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

You might want to consider making your P2P application go on HTTP ports
(80). Or better still, make them web services.. That should give you
most open implementation with the ability to allow web-admins to block
some of this traffic if not desired.
 
K

K_Lee

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


Are you sure in KAZAA, each client doesn't go thru an outside server
to talk to each other?
If it is, it is easy to implement else you need a sniffer to
found out how Kazaa did it.
MS's NetMonitor or OpenSource Ethereal will help you do that.
 
Joined
Aug 2, 2012
Messages
1
Reaction score
0
Hey! did you come to any solution to this problem?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top