Connection from server to client in rdp session

0

My "client PC" is connected to server via RDP. I want to send a message from server to WCF service, that is hosted on client PC. Is it possible (can server send anything to client PC)?

Hawex

Posted 2019-08-05T06:00:18.693

Reputation: 1

What you want may be simpler than trying to use WCF, try the msg command: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msg

– MaQleod – 2019-08-05T06:26:19.000

Msg command only able me to send a message to client logged in rdp session, but i want to send a "message" to his PC. My scenario is:

  1. Log in to RDP
  2. Open application in RDP Session
  3. Application sends a message to WCF service, which is hosted on CLIENT PC.
  4. < – Hawex – 2019-08-05T06:38:13.407

It sounds like you need a WCF client application on the RDP server that monitors RDP sockets and when a new one is created will use the WCF framework to initiate a new connection to the newly connected client and send data. As long as the client has the service active and is able to accept connections, it would be a server in its own right and so I don't see how it wouldn't be possible - but it would require knowledge of how to build that sort of thing in WCF (and that would be a better question for StackOverflow). – MaQleod – 2019-08-05T06:55:11.230

No answers