How to create a remote viewer for a games LAN party?
In my LAN I have 11 computers for multiplayer games LAN parties.
I need to create a remote viewer for all 10 computers in my LAN.
So this program only needs to captures and sends the desktop to my computer.
What API, functions or library do I have to use ?
.
P.s. I want create my own program, so I don't want to use other programs like RealVNC.
P.p.s. I want create only a remot开发者_开发技巧e viewer program and NOT a remote control program.
I can give you some advice for Windows platform and Borland Builder C++. You'll need two applications, one installed at client side and one in your side.
Client side
A TCP server listening for your command request.
An UDP client to send screenshot to your side.
Screenshot grabber, you can do it by sending a print-scrn message to windows and then grabbing from clipboard, converting to a jpg and send an UDP packet. You'll need to experiment different image resolutions and compress schemes to obtain a good trade in between quality and transfer speed, I don't think its a big issue with today networks.
Your side
A TCP Client to send your command request for a screenshot.
An UDP listening endpoint to receive screenshot.
If you are into C++ or Delphi, you could use Indy project components for that, its really very easy, they have many examples of UDP ad TCP client-server apps one can use to develop such kind of tool, check at www.indyproject.org and remember that Google is your best friend for this.
精彩评论