I’ve been getting to grips with Socket programming lately, with the aim of writing custom software to stream images from camera to server to client(s). Basic CCTV stuff.
So far I’ve been getting tripped up in the logic of which application should be the server and which should be the client. The waters get a bit muddy once you start adding extra parts to the architecture, and adding features.
My goal, by the end of the week I suppose, is to have a client connect to the image server – which will be receiving mocked image data – and have that returned and rendered on the client.
I can see frustration ahead! Will post code, if it ends up looking palatable enough.