FW: [jcifs] Problem reading from named pipe

Michael B Allen mballen at erols.com
Fri Feb 15 19:07:45 EST 2002

On Thu, 14 Feb 2002 14:51:58 -0800
Sean Ryan <sryan at clear-tec.com> wrote:

> Mike,
> One last question.  Without the "available()" and "ready()" methods working,
> and without a timeout value specified anywhere, how is one supposed to
> handle a timeout on reading from the named pipe stream?

Good point. It's probably pretty easy to just look at something like
BufferedInputStream.java and do the equivalent of it's available method in
jcifs/smb/TransactNamedPipeInputStream.java (see the used member). But I
wouldn't dare do that right now. We're on the brink of releasing 0.6. If
you do it please be a good LGPL'er and send me a patch :~)


PS: Please send these messages to the jcifs at samba.org mailing list.

> Regards,
> Sean.
> -----Original Message-----
> From: Michael B Allen [mailto:mballen at erols.com]
> Sent: Thursday, February 14, 2002 1:34 PM
> To: Sean Ryan
> Cc: jcifs at samba.org
> Subject: Re: FW: [jcifs] Problem reading from named pipe
> On Thu, 14 Feb 2002 12:34:50 -0800
> Sean Ryan <sryan at clear-tec.com> wrote:
> > Mike,
> > 
> > What would I have to use, as far as the jCIFS stuff is concerned, to
> handle
> > overlapping asynchronous transactions?  I would have thought that would be
> > buried deep inside your code somewhere.  Has anybody else requested this
> > kind of capability (multiplexing the same named pipe)?
> I don't know Sean, it would need close examination. You would have to look
> closely at the network traffic generated by the working Win32 example.
> Mike

May The Source be with you.

More information about the jcifs mailing list