For the past few days i’ve been working on a server/client application that sends images to the server from a client computer.
The application looks like this (server and client)

click to enlarge
How does the image look like?
To show you the results i’ve let the server and client run on my own computer, the result is the image above. The actual size however depends on the client desktop resolution, example: if the client desktop resolution is 1280×800 you will recieve the images on the same resolution.
How does it work?
The client tries to connect to the server and when succesful the client will make screenshots from the desktop and sends the data over to the server, the server writes the incoming data to an image file to the c:\demo\ScreenCapture directory. The problem however is that it will result in lots of image files as can be seen below that can take quite a chunk of your diskspace. The solution is to compress the image file(s) or to delete the images files when they are old or when it reaches a set amount. Example: the folder reaches 50 images and is trying to write image number 51, the oldest image file will be deleted etc. The image files are saved as “ScreenCapture 20081219-16 24 26.png” -> (Image name, date and time and png image format)

The current server build also accept multiple simultaneous client connections but places the images in the same map which i might recode and give each client a seperate map to save the images there.
(more…)
Bookmark this page:
These icons link to social bookmarking sites where readers can share and discover new web pages.