-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17/12/12 20:37, mickeyf wrote:
Sorry, I'm not understanding your response. Are you suggesting I
somehow read a byte array directly rather than sending it back via
a pipe (which I'm doing now)?
You mentioned you had a shared library that opens a
the mono documentation that I have found is missing or incomplete.
..Or maybe it's just a Monday morning and I haven't had any coffee yet.
Thank you - very helpful. It's never clear to me how much of the MSDN
documentation I can rely on to apply to Mono. Windows .NET doesn't actually
have
Perhaps I could have been clearer - my library is already an unmanaged code
written in C. Are you suggesting a byte array as a function return value?
Not sure how that would work - this is data asynchronously arriving from an
outside source that needs to be decoded and then passed up to the main
I have some questions about Mono.Unix.Pipes.
I have been using this with some success, but I am relatively new to Linux,
and the mono documentation that I have found is missing or incomplete. The
Linux manual pages docs on pipes are clearly referring to a different animal
than this.
Sounds like for you it would be easier to just pinvoke a byte array. I guess it
depends how much data is involved.
On Mon, Dec 17, 2012 at 05:05:07PM +, mickeyf wrote:
I have some questions about Mono.Unix.Pipes.
I have been using this with some success, but I am relatively new to Linux,
Sorry, I'm not understanding your response. Are you suggesting I somehow read
a byte array directly rather than sending it back via a pipe (which I'm
doing now)?
I'm looking into unix domain sockets as an alternative, but I struggling to
find documentation and examples for that also.
--
View
Since you are relatively new to Linux, write two simple programs in C which
use pipes to communicate (the first program is the producer, the second is
the consumer). You'll need fork, exec, and probably dup2.
Once done, porting the consumer to Mono is straightforward. (Assuming you
know C and
I have long had a working C# app that consumes data piped from the C library
that I have written. This has nothing to do with forking a new process or
child processes.
What I am looking for is the detailed and complete documentation on correct
use of Mono.Unix.UnixPipes - the documentation for
On Dec 17, 2012, at 12:05 PM, mickeyf mic...@thesweetoasis.com wrote:
I have been using this with some success, but I am relatively new to Linux,
and the mono documentation that I have found is missing or incomplete.
Is it?
http://docs.go-mono.com/?link=T%3aMono.Unix.UnixPipes