/* test.c */
#include <stdio.h>
int main() {
printf("Hello World\n");
return 0;
}
gcc:
toolchains/bin/mips-linux-gcc test.c -o test.out -static
device:
cp /bin/cp /tmp/test.out
nc -lp 55555 > /tmp/test.out
host:
nc -q 1 192.168.0.1 55555 < test.out
device:
/tmp/test.out