Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
This repository was archived by the owner on May 14, 2024. It is now read-only.

ERROR: data that has arrived wasn't valid #223

@JannyFoo

Description

@JannyFoo

Hi,

If I connect to the socket server via a webpage with JS, everything works as expected. Correct data, handling the whole deal.

As soon as I attempt to do the same via socket.IO-objc i get bad data in debug log, and cannot handle data.

Maybe something to do with sure how to handle line breaks in packet data? I try looking for "\n", "\r", "\r\n" but nothing seems to work. In addition I always get "ERROR: data that has arrived wasn't valid".

My JS script works successfully looking for "\n".

Thanks, John

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