sta / sta/websocket-sharp

WebSocket Send() not sending messages after 4/5 messages, no exception occurs.

Open
#258 3 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

My app uses websocket-sharp for a Chat functionality. It works well, but after about sending 5 to 6 messages repeatedly, the socket not able to send the message. There is no exception while debugging in send(). Even I am able to receives the messages from other users. Socket state is open and sendBytes(byte[] bytes) retuning true while writing data into stream object.

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 reproducing the failure with repeated WebSocket Send() calls, then inspect sendBytes(byte[] bytes) and its stream write, as described in the report. Compare the send path with the still-working receive path and verify behavior while the socket remains open. Done means messages continue to be delivered after repeated sends without an exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.