[Mono-dev] Named Pipes in Mono

Ondrej ondrej.uzovic at gmail.com
Thu Mar 10 18:08:47 EST 2011


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.


More information about the Mono-devel-list mailing list