embedded control panel - can this work?

Harald Becker ralda at gmx.de
Tue Jan 18 16:15:29 UTC 2011

> duh - I see "read the netcat manual" !!!
Try: echo "What about this complex example?" | netcat YOUR_PORT

... depends a bit on the netcat version, but probably (should) work ...
simple enough?

... or bidirectional:

response=`echo "Command message" | netcat PORT`
echo "Got response '$response'"
case "$response" in
   whatever )
      do your response action
   * )
      got unexpected response

More information about the busybox mailing list