943,717 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 3575
  • C# RSS
Jun 17th, 2007
0

finding port numbers in a peer to peer architecture

Expand Post »
I'm writing a peer to peer network in c# with .net 3.
I'm using a tcp/ip architecture where each device acts as both a client and a server.
If one pc wants to download a file from another, how will it know what port the server on the other pc is listening on?
Because they both need to connect to the same port for a connection to be made
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
taineechan is offline Offline
17 posts
since Oct 2006
Jun 19th, 2007
0

Re: finding port numbers in a peer to peer architecture

Click to Expand / Collapse  Quote originally posted by taineechan ...
I'm writing a peer to peer network in c# with .net 3.
I'm using a tcp/ip architecture where each device acts as both a client and a server.
If one pc wants to download a file from another, how will it know what port the server on the other pc is listening on?
Because they both need to connect to the same port for a connection to be made
for this you should really understand the OSI model and how router works.

i would give you more but there is only so much i can say.
Reputation Points: 152
Solved Threads: 39
Master Poster
Killer_Typo is offline Offline
778 posts
since Apr 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: crystal report to pdf using c#
Next Thread in C# Forum Timeline: ImageBrush Class





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC