[Mono-dev] Named Pipes in Mono

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Sun Mar 13 22:56:57 EDT 2011


This Windows-specific API is not implemented (note that there are some
*not working* code).

Atsushi Eno

(2011/03/11 8:08), Ondrej wrote:
> Hello,
>
> I am trying to port my .Net application to Mono 2.6.4.
> The problem I am facing is, that I am not able to send data via the named
> pipe by using NamedPipeClientStream.
>
> If I write to the pipe from the .Net application, the message is received
> under Mono running service (using NamedPipeServerStream).
> If I write to the pipe from the Mono application, the connection is open,
> then the message is sent, but it is never received.
>
> The sending part is like this:
>
> using (NamedPipeClientStream aNamedPipeClientStream = new
> NamedPipeClientStream(myServerName, myPipeName, PipeDirection.Out))
> {
>       aNamedPipeClientStream.Connect(myTimeOut);
>       aNamedPipeClientStream.Write(aBufferedMessage, 0,
> aBufferedMessage.Length);
> }
>
>
> Does anybody has any idea?
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Named-Pipes-in-Mono-tp3347043p3347043.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>



More information about the Mono-devel-list mailing list