| | |
sharing variable between two projects in c#
Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
![]() |
I am developing a client-server application.
However, here the situation is a bit different : There is only a single client that would connect to several servers that are listening for a connection.
This means that the only client would require the port numbers of all the server exes.
I am not able to pass the port numbers from each of the servers to the client.
Also, as i am testing the whole VS solution on a single PC, its required that each of the server exe must have a unique port number assigned with it. I tried to solve the "unique port number" situation by creating a key in registry. However, this doesnt prove useful when i run multiple servers (multiple exes of servers).
Could anyone provide me with some solution?
However, here the situation is a bit different : There is only a single client that would connect to several servers that are listening for a connection.
This means that the only client would require the port numbers of all the server exes.
I am not able to pass the port numbers from each of the servers to the client.
Also, as i am testing the whole VS solution on a single PC, its required that each of the server exe must have a unique port number assigned with it. I tried to solve the "unique port number" situation by creating a key in registry. However, this doesnt prove useful when i run multiple servers (multiple exes of servers).
Could anyone provide me with some solution?
Bhoot
![]() |
Similar Threads
Other Threads in the C# Forum
- Previous Thread: Transmit Location Data to a Webserver from a GPS Tracking Device
- Next Thread: creating buttons inside button
Views: 501 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast button buttons c# chat check checkbox class client code combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gcd gdi+ http httpwebrequest image index input install java label list listbox login mandelbrot math mysql networking operator oracle path photoshop picturebox pixelinversion prime programming radians regex remote remoting resource richtextbox save saving serialization server socket sql statistics stream string table tcp text textbox time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





