UDP Server IPEndPoint on Citrix environment issue

I have built a sort of notification system based on UDP. In a normal machine and server environment this works fine, each client that registers itself with the server does so with an IPEndPoint. You can send messages to each client without any other connected clients getting the message. However, on a citrix enviroment, each client that connects seems to get the same IPEndpoint and therefor a message sent to one client goes to all of them. ANy thoughts on what i can do to solve this issue?
Who is Participating?
nprignanoConnect With a Mentor Technical ArchitectCommented:
You need to look into the Virtual IP functionality for Presentation Server.  Since all of the users are on the same IP, Citrix can assign Virtual IP addresses to each individual user session.  

superchiefAuthor Commented:
Ah i see, so essentially i would need to parse a list of all the ip addresses on the machine (in code attached)

However if the citrix server is not configured to have virtual ip addresses assigned to the client then there is not a lot i can do about it.

String hostName = Dns.GetHostName();
IPHostEntry ipEntry = Dns.GetHostByName(hostName);
IPAddress[] addresses = ipEntry.AddressList;
foreach(IPAddress ip in addresses)

Open in new window

superchiefAuthor Commented:
Essentially, could this not be solved by changing to a multi-threaded TCP server?
superchiefAuthor Commented:
Well looked at the citrix thing, That would solve the issue but unfortunatly the admins wont change the setting on the servers. Ah well at least i know now.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.