sharing variable between two projects in c#

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2008
Posts: 52
Reputation: Bhoot is an unknown quantity at this point 
Solved Threads: 1
Bhoot's Avatar
Bhoot Bhoot is offline Offline
Junior Poster in Training

sharing variable between two projects in c#

 
0
  #1
May 8th, 2009
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?
Bhoot
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC