| | |
sharing variable between two projects in c#
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
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
| Thread Tools | Search this Thread |
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# check checkbox client color combobox control conversion csharp custom customactiondata database datagrid datagridview dataset date/time datetime datetimepicker degrees development dll draganddrop drawing encryption enum event excel file filename files form format forms function gdi+ gis gtk httpwebrequest image index input install java label list listbox mandelbrot math mouseclick mysql operator outlook2003 path photoshop picturebox pixelinversion pixelminversion post programming radians regex remote remoting richtextbox serialization server sleep socket sql statistics stream string table text textbox thread time timer tutorial update usercontrol validation visualstudio webbrowser webcam wia windows winforms wpf xml





