c# - XML-RPC Communication with a Windows Service -
i'm working on system workplace can track offending users in computer lab. have system in place track users (what login name is, , vnc terminals available). system uses windows service gather information users logged lab computers. responds master program running @ front-desk machine 1 line response containing data user sessions, etc. however, have web app (wordpress plugin) able query these lab machines through service installed on them to: obtain screenshots, send message popups (because net send
blocked on network), , maybe more features come.
the protocol i'm using this:
- front desk sends out udp packet single word
rollcall
- lab machines respond using tcp-connect data user sessions
- packet response:
<machine name>;rollcall;<username>;<domain>
- packet reponse(alt):
<machine name>;<username>;<domain>;<table number>
- packet response:
however, i'm not sure if should querying web. i'd prefer try xml-rpc communication, can't find examples of how accomplish in windows service application (non-asp.net).
does have recommendations? i'd prefer xml-rpc protocol because i'd experiment , learn xml-rpc.
you can use wcf create "web service" runs on each system. xml-rpc remoting used .net 2.0 nowadays use wcf since more powerful. can check microsoft's documentation remoting more info.
Comments
Post a Comment