473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Socket Communication behind LAN

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
2 4220
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lindstrom Greg - glinds | last post by:
Hello- I have a python routine (Python 2.2.3 on Windows 2000 "Professional") using a socket connection. Problem is, the backend service I'm connecting to will hang every so often and the socket...
4
by: faktujaa | last post by:
Hi, I am having some problem with callback used in socket implementation. private static void Connect(string strPrtrIPAddr, int intPrtrPort, ref Socket rsocClient) { try { // Create remote end...
2
by: tantiboh | last post by:
I'm not a new programmer, but this one's got me stymied; hopefully it's a fairly trivial problem. I'm using a socket connection to receive communication from a server. Normally, the entire message...
3
by: Ricardo Quintanilla | last post by:
i had a problem whom i do not know how to explain. i was using a TcpClient (System.Net.Sockets.TcpClient) object to send and receive data to an AS400 socket. Two months ago it started to work...
4
by: Sačo Zagoranski | last post by:
Hi! I'm writing a simple 3D First person shooter game. It is a multiplayer game, where all the players connect to one server.
7
by: Ole | last post by:
Hi, I'm going to develop a socket communication between an instrument (running CE 5.0 with Compact Fraework V2) and a PC. As the instrument should only connect to one PC at a time I believe that...
1
by: Mr. Beck | last post by:
Hello, Please Help..... I have been working with some tcp/ip socket communication within a C# program recently. Basicly, I have a program (myProblemProgram) that has a socket connected to...
0
by: =?Utf-8?B?QWxwZXIgQUtDQVlPWg==?= | last post by:
Hello, First of all I wish you a good day. My help request is about .NET asynchrounus socket communication. I have developed Server-Client Windows Forms .NET applications in VC++ .NET v2003. I...
0
by: Mangabasi | last post by:
Howdy, I would like to use the Synthesis Toolkit for a demo. I downloaded the STK from http://ccrma.stanford.edu/software/stk/index.html. It seems very powerful and user friendly. There are...
9
by: cnixuser | last post by:
Hi, I was wondering if someone could give me some general pointers about creating client server applications that would be able to communicate with each other over not just the LAN which I am able...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.