I know that on some platforms netcat filters the EOT character (netcat on my WRT54GS does that), but on a desktop linux it seems to work.
To generate the EOT character, you can use command like:
printf "<write><object id='kitchen_light' value='on'/></write>\n\x4" | nc localhost 1028
Regards,
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried it at home today and it works on my linux desktop (Suse 10.2). I had to replace "nc" by "netcat". (on Redhat enterprise linux, the command is named "nc" instead of "netcat" )
Regards,
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I try to execute a linknx request using netcat, but it doesn't work.
I think it's because of EOT character.
Do you have example that works ?
Thanks per advance,
Ben
Hi,
I know that on some platforms netcat filters the EOT character (netcat on my WRT54GS does that), but on a desktop linux it seems to work.
To generate the EOT character, you can use command like:
printf "<write><object id='kitchen_light' value='on'/></write>\n\x4" | nc localhost 1028
Regards,
Jean-François
Hi,
I tried it at home today and it works on my linux desktop (Suse 10.2). I had to replace "nc" by "netcat". (on Redhat enterprise linux, the command is named "nc" instead of "netcat" )
Regards,
Jean-François