How stay connected?
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
using (var ws = new WebSocket("wss://data-fix.smt-data.com/lmax"))
{
ws.OnMessage += Ws_OnMessage;
ws.OnOpen += Ws_OnOpen;
ws.OnError += Ws_OnError;
ws.OnClose += Ws_OnClose;
ws.Connect();
//ws.OnMessage += (sender, e) =>
ws.Connect();
}
When i send data it automatically close socket. How stay connected and what when i receive new data from server?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebSocket usage shown in the issue, including the event handlers and the two Connect calls. Inspect the close and error behavior around sending data; done means identifying why the socket closes and documenting or implementing the supported way to remain connected and receive server messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100