Skip to content

Binary Protocol #1

Description

@reemptive

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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