Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having trouble decode client Socket data #188

Open
nguyenhopquang opened this issue Nov 7, 2022 · 0 comments
Open

Having trouble decode client Socket data #188

nguyenhopquang opened this issue Nov 7, 2022 · 0 comments

Comments

@nguyenhopquang
Copy link

nguyenhopquang commented Nov 7, 2022

Hi guys, i'm using localtunnel server to forward socket message.
I can receive message data in buffer by listening for "data" event (I add a log at lib/Client.js > handleUpgrade function and then listen for conn.on("data") ). I can decode the first message but cannot decode every next messages.
I tried with toString UTF-8, hex, ascii but still cannot read that message.

Can you please help me out in how it set yours up?
Screenshot_2

Screenshot_8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant