Skip to content

Binary Protocol #1

@TimBlo

Description

@TimBlo

Hi

I'm reffering to lines 88 and 89 in JSocket.as:
var buffer:String = soc.readUTFBytes(soc.bytesAvailable);
ExternalInterface.call('JSocket.dataHandler', socid, buffer.replace(ESCAPER_REG, '\'));

Can i predict from them, that my protocol will crash by creating escape sequences within the generated binary stream? I've been testing a while, but the communication crashes after a few moments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions