Binding an input creates a listening socket on a local port and binds the socket data to a local accessible buffer (accessible with the native `read` call).
-`$id` is a unique arbitrary name you must give to the listening binding
-`$port` is the number of the local port to listen to (between 1024 and 49151)
*Execution:*
- The `bind-input` execution will last until the socket is created, then it will move it to a background process and print its *PID*.
- In order to close properly the `bind-input`, you must kill its *PID* with one of the 3 following signals: SIGINT, SIGHUP, SIGTERM. Note that you must not use *SIGKILL* because it won't trigger the "*proper closing*" routine.
Let's say that you want to listen to port 9999, then read every second. You want to ignore empty messages (if nothing received), and end the program when you receive the message "**END**".
-`$id` is a unique arbitrary name you must give to the output binding
-`$host` is the hostname (IP addr. or resolvable) of the machine to connect to.
-`$port` is the number of the remote port to connect to (between 1024 and 49151)
*Execution:*
- The `bind-output` execution will last until the socket is created, then it will move it to a background process and print its *PID*.
- In order to close properly the `bind-output`, you must kill its *PID* with one of the 3 following signals: SIGINT, SIGHUP, SIGTERM. Note that you must not use *SIGKILL* because it won't trigger the "*proper closing*" routine.