The pigpio GPIO library seems to provide a mechanism to invoke the pigpiod demon remotely using TCP/IP sockets. However, there appears to be some details missing. For example:
- Do we use a TCP or UDP socket?
- How do we terminate sending a command?
- How do we know when the response is received/terminated?
Do we have any sample apps using native socket APIs either in C or Java?
Later ... Have started to reverse engineer code and it appears to be TCP sockets (AF_INET) ...
http://abyz.co.uk/rpi/pigpio/sif.html
– Kolban Apr 20 '15 at 11:47