Message
General information
Fórum:
Visual FoxPro
Category:
WIN32API & outras APIs
Título:
Communicating Between Terminal Server Sessions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
ID da thread:
01158279
ID da mensagem:
01158279
Views:
57
Hi All,

I'm looking for some advice. I have an application that communicates between clients on individual PCs using UDP using the Winsock activeX control. It works fine, but I ran into a snag when trying to run the same application on multiple terminal server sessions. The first user's session grabs the UDP listening port and the other sessions get an error "port in use" when they try to launch, which makes sense.

I'm exploring alternative methods of communication between the hosted sessions. An installation could have a mix of individual clients and hosted clients.

I'd rather not use a timer or a file based method, as the message display on the clients needs to be synchronized as closely as possible. An event hook would be ideal. I was thinking of creating a system service specifically for Terminal Servers which could handle listening over the UDP port, but I'm looking for a good method of communicating between that service and the hosted clients.

Any ideas or advice are greatly appreciated.

-Matt
Next
Responder
Mapa
View