| | |
finding port numbers in a peer to peer architecture
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
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
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
try{ be yourself;}
catch(you suck){be someone else;}
//always be yourself:unless you suck
catch(you suck){be someone else;}
//always be yourself:unless you suck
•
•
•
•
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
i would give you more but there is only so much i can say.
Dont forget to spread the reputation to those that deserve!
![]() |
Similar Threads
- Finding Perfect Numbers. "help plz" (C++)
- Finding Open Ports (Java)
- Port number, ip address, computer name (Windows 95 / 98 / Me)
Other Threads in the C# Forum
- Previous Thread: crystal report to pdf using c#
- Next Thread: ImageBrush Class
| Thread Tools | Search this Thread |
.net access algorithm array asp barchart bitmap box broadcast buttons c# check checkbox client column combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development display draganddrop drawing encryption enum equation event excel file form format formbox forms formupdate function gdi+ httpwebrequest image index input install java label linux list listbox mandelbrot math mouseclick mysql networking operator packaging parse path photoshop picturebox pixelinversion post powerpacks programming radians regex remote remoting reporting richtextbox robot server sleep socket sql statistics stream string table text textbox thread time timer transform treeview update usercontrol validation visualstudio webbrowser wfa windows winforms wpf xml





