[jcifs] SmbNamedPipe

Michael B. Allen miallen at eskimo.com
Sat Nov 16 15:54:13 EST 2002


On Fri, 15 Nov 2002 14:00:07 +0100
"Specht, Uwe" <Uwe.Specht at est.fujitsu.com> wrote:

> Hi,
> is there any method to close a SmbNamedPipe.I already close the Input and
> Output stream, but the connection is not closed properly. (compared to a
> windows close of that pipe). I think there should be something like this or
> am I wrong?

Well if you mean disconnect, no. There is no explicit way to
disconnect. It will disconnect after jcifs.smb.client.soTimeout. If you
mean that calling close() on the stream does not do the same thing as
Windows then I'll have to take a packet capture. But that's not easy for
me to do. If you have ethereal or netmon it will expedite the process
quite a bit.

> 
> Uwe


-- 
A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 



More information about the jcifs mailing list