There is a server computer to which 20 client are connected. The distance between them is not great, you can connect them not only through network cards.
How to programmatically verify that client computers are turned on?
There is an opinion that the solution should be sought in the GPIO interface. That is, one pin corresponds to one computer, but I do not quite understand how to implement it?