sta / sta/websocket-sharp

Session.Broadcast(), don't send back to source

Open
#508 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hello all,

Session.Broadcast() is such a nice little command, however I can't seem to figure out a way to have Session.Broadcast() not send back to the original sender.

Picture the chat server concept, I just want to not "echo" back to the original sender. Like old school style, use local echo.

Any suggestions on how I achieve this?

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Session.Broadcast() entry point and review how the original sender is represented during broadcasting. Determine the intended way to exclude that source, then verify that messages reach other recipients without being echoed back to the sender.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.