-
Notifications
You must be signed in to change notification settings - Fork 16
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
Connect via UDP #19
Comments
I believe you can, but by default
However, this client uses LazySocket that calls for a normal Socket creation which is only TCP. Support for UDP would require a PR at this stage. Are you able to submit such a change ? If not, I can look into it. |
I'm not very experienced in js, but it looks like the |
That is correct, it's just a matter of calling the right type of socket within LazySocket, but this is outside the scope of this repo and I can only approve PRs here. Thus, I suggest we implement UDP support without dependencies as it's pretty straightforward. I will think of a first draft to then use for tests and ping you when it's ready. |
Perfect, thanks! |
I just pushed the initial version with UDP support on the feat-udp branch. Can you pull it and try locally ? You will also need to change the connect string: replace |
Any updates @MatzHilven ? If it works well, I will merge into master. |
I'll get you an answer this evening! |
Shameless ping @MatzHilven :) |
Sorry for the delay!! Also: #20 (comment) |
Is it possible to connect to carbon via UDP? (using this client of course)
The text was updated successfully, but these errors were encountered: