[jcifs] jCifs writing to Mailslots
Christopher R. Hertel
crh at ubiqx.mn.org
Tue Jun 10 15:18:49 EST 2003
"Allen, Michael B (RSCH)" wrote:
>
> > -----Original Message-----
> > From: Sascha Teifke [SMTP:sascha at teifke.de]
> >
> > FileOutputStream fos = new FileOutputStream( "SENDER\0SENDER\0My
> > Message \0\0" );
> >
> The FileOutputStream constructor takes a filename.
>
> Anyway I don't think the win-popup message format is that simple. Ethereal
> probably decodes them properly. Provided you use fos.write(str) you can go
> back and fouth with Ethereal until the pipe mode is correct but then you'll
> probably need to encode the message in binary. See the
> jcifs/smb/SmbComXxx.java files for ideas.
>
> Mike
The messanger protocol is documented in the X/Open docs. See:
http://www.opengroup.org/products/publications/catalog/c195.htm
http://www.opengroup.org/products/publications/catalog/c209.htm
I think it's in c195.
Chris -)-----
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs
mailing list