943,948 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 1006
  • C# RSS
May 8th, 2009
0

sharing variable between two projects in c#

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
Bhoot is offline Offline
53 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Transmit Location Data to a Webserver from a GPS Tracking Device
Next Thread in C# Forum Timeline: creating buttons inside button





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC