Topic: Bidirectional pipe communication between Flash and C program
I have written a C program that takes a line from standard input (terminated by a \n), formats it, and sends it to the serial port. The same executable also receives data from the serial port, formats it, and sends it to standard out (also terminated by a \n).
After reviewing the ASnative() calls for _pipeOpen(), _pipeRead(), and _pipeWrite(), I can't seem to figure out how to hook this C program into my Flash program. All of the examples I can find that use both _pipeRead() and _pipeWrite() pass different command lines to their respective _pipeOpen() calls.
Has anyone developed a Flash program to handle a bidirectional pipe?