[Mono-list] Questions on Mono.Unix.Pipes

Ian Norton ian.norton-badrul at thales-esecurity.com
Tue Dec 18 08:28:49 UTC 2012


-----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 pipe. Suggesting
to me that it is in the same process, so calling an unmanaged function
to return the data seems easier.

> I'm looking into unix domain sockets as an alternative, but I
> struggling to find documentation and examples for that also.

The unix sockets on mono work pretty well, I've been using mono as a
unix sockets client to talk to virtualbox and vmware serial ports for
a while now.

Ian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ0ClBAAoJEPg9tunm1IFQvasH/3enBsxOCGOSDyj10aeUa00o
AZkRergC4/7JHb+0HLyRb3MS0qAWCFNzvN6K/bGnS1VL7XOkr5Lw3pUscwyPSuzl
r0DxjjXNaLV422uNeGQRxkVxWrwW23Q6D+737O0s/yTr7XmaGgIrrnhCMLobV/wW
+7dB7A1sRQCKNq4rfsn876oJlpBRnJr9CbqzUGyTggnfcEgXTfk3C5G2GIOi33+1
uu2Vdd2pN+cRO6alXFzJwBgAr18ZYNplZvOJkzlSpC2r1y3GDxL4emhbpqa2kVNx
/+ccIGxJ/7behUYjyzboNhn+15h1b5cl8HMwXAQGJzG0oO/BzrSkv8MJFiT4Ucg=
=O8Sa
-----END PGP SIGNATURE-----


More information about the Mono-list mailing list