Thanks for your reply, I don't know why this is turning into such an
issue for me,  but according to the XMLSocket API, all it does is send
a XML message followed by a zero byte...so why doesn't this work for
me? It looks as if it is the same thing.  


//"this" is a connected flash.net.Socket
var bytes:ByteArray = new ByteArray();
bytes.writeUTFBytes(xml.toXMLString() );
this.writeBytes(bytes);
this.writeByte( 0x30 );
this.flush();

--- In [email protected], "Darron J. Schall" <[EMAIL PROTECTED]> wrote:
>
> 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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to