[jcifs] Fwd: Named Pipe

Michael B Allen mba2000 at ioplex.com
Fri Oct 24 12:14:16 EST 2003


> Hi Mike,
>
> I just wanted to follow up my earlier response with my original question
> in
> case you've forgotten.
> In the mean time, I have been able to connect JCIFS clients to a Win32
> pipe
> server, however I'm
> still dealing with the localhost issue. So far the only URL syntax that
> seems to work is my
> hard-coded IP address for the server. Without that it throws an
> IOException.

Then if 127.0.0.1 or auth at 127.0.0.1 does not work you might try something
like:

   new SmbFile( "smb://auth@" +
         InetAddress.getLocalHost().getHostAddress() +
         "/$IPC/named_pipe" );

Mike

-- 
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