By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,939 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,939 IT Pros & Developers. It's quick & easy.

Socket Communication behind LAN

P: n/a
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
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Yassar wrote:
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.

--
Girish Bharadwaj

Nov 15 '05 #2

P: n/a
ya************@hotmail.com (Yassar) wrote in message news:<68**************************@posting.google. com>...
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.
--
Browse source code and document for .NET CLI, Mozilla, Apache, NetBSD at
http://www.slink-software.com?E=SLinkEvn_1004
Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.