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

[feature]ws_sendframe_txt_bcast_except(ws_cli_conn_t client, const char *msg); #100

Open
habi498 opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@habi498
Copy link

habi498 commented Sep 12, 2024

Is your feature request related to a problem? Please describe.
On some occasions, it would be useful to send messages to every other client other than a particular one.

Describe the solution you'd like
A simple function to send messages (txt and binary if possible) to all clients except one.

Describe alternatives you've considered
Storing each client in some vector and then later popping it out.

Additional context
Or provide a function to loop through each client. i know ws_cli_conn_t is an integer. so i can compare.

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

No branches or pull requests

1 participant