| | |
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 ado.net algorithm array barchart bitmap box broadcast buttons c# chat check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms function gdi+ httpwebrequest image index input install java label list listbox listener mandelbrot math mouseclick mysql nargalax networking object operator path photoshop picturebox pixelinversion polynomial post prime programming radians regex remote remoting richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





