**** This is for learning purpose. I just like to deep dive into sockets, tcp, packets, etc.
For doing tests and learning, I began to "play" with socat
CONTEXT (tests) :
1- Bind a port to a shell script
socat -u tcp-l:7777,fork system:/path/to/test.sh
2- test from an other terminal
echo "message 1" | netcat 192.168.0.x 7777
THIS simple test works, the .sh gets triggered
QUESTION : to learn further, how would I receive a file and save it ?