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

Support a single client connecting to multiple servers/processes #248

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

VelorumS
Copy link

Uses address patterns like ws:/127.0.0.1:1781{5,6}/rmt to connect to multiple servers. Shows thread names with the 0_, 1_... prefixes depending on the server of origin. Sends console input to the first server.

Added GSST and SSST messages for retrieving the starting timepoints from the servers.

Copy-pasted the https://github.com/juliangruber/balanced-match and https://github.com/juliangruber/brace-expansion to get the address pattern parsing.

Not sure if it works for the Processor Timelines.

Fixes #134

@dwilliamson
Copy link
Collaborator

Thank you for this PR. I will have a close look at its implications.

Not to worry about processor timeline view, as long as it doesn't break.

case FOURCC('G', 'S', 'S', 'T'): {
Buffer* bin_buf = rmt->server->bin_buf;
WebSocket_PrepareBuffer(bin_buf);
bin_SamplesStart(bin_buf, rmt->timer.counter_start);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why any of the tests aren't picking this up, but this should be rmt->timer.counter_start.QuadPart.

@dwilliamson
Copy link
Collaborator

I'm trying to test the processor view right now but it doesn't actually appear to be working on the laptop I'm testing on, so I may have to debug that first before I get any further with testing this.

Copy link
Collaborator

@dwilliamson dwilliamson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With these changes, the processor view has lost its colours. I haven't verified if the processor view values are actually accurate.

image

image

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

Successfully merging this pull request may close these issues.

Support a single client connecting to multiple servers/processes
2 participants