[jcifs] jCifs writing to Mailslots

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Tue Jun 10 08:25:44 EST 2003



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





More information about the jcifs mailing list