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

Broadcast interface? #1009

Closed
edmand46 opened this issue Feb 19, 2017 · 6 comments
Closed

Broadcast interface? #1009

edmand46 opened this issue Feb 19, 2017 · 6 comments

Comments

@edmand46
Copy link

#617

And what`s frame? Array?
const frame = frameMessage(1, 'message', true, true, true, false);

@lpinca
Copy link
Member

lpinca commented Feb 19, 2017

That was only an idea on how to improve broadcast performance. The idea was to make frameAndSend() a standalone function to frame a message and export it but nothing has been done yet.

@edmand46
Copy link
Author

What`s return frameMessage? outputBuffer or data ?

@lpinca
Copy link
Member

lpinca commented Feb 19, 2017

There is no frameMessage, and currently frameAndSend() does not return anything, it calls sendFramedData().

@edmand46
Copy link
Author

But how to get frame for send all clients? i don`t understand and sorry for my bad english.

@lpinca
Copy link
Member

lpinca commented Feb 19, 2017

There is no way now unless you build the frame yourself. You can read here how data framing works or extract the logic from frameAndSend().

Hope this makes sense.

@lpinca
Copy link
Member

lpinca commented Feb 22, 2017

Closing as we already have another open issue for this.

@lpinca lpinca closed this as completed Feb 22, 2017
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

2 participants