To write a null byte to a Socket, just use the writeByte method:

this.writeByte( 0x00 );
this.flush();

-d

e_baggg wrote:

## Try adding a null byte before flushing the flash.net.Socket.

Ted-
Thanks for your response but I am still unable to get it working.
Partly b/c I can't find any help on how to add a null byte. I would
think this (or '\0') would accomplish it but it does not. Sorry,
couldn't find any help online.

//this is a connected flash.net.Socket
this.writeUTFBytes(xml.toXMLString() + null);
this.flush();


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to