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

Add support for UDP socket #208

Open
4x8Matrix opened this issue Jun 6, 2024 · 1 comment
Open

Add support for UDP socket #208

4x8Matrix opened this issue Jun 6, 2024 · 1 comment
Labels
enhancement New feature or request pending / needs design Awaiting design and/or implementation discussion and decisions

Comments

@4x8Matrix
Copy link
Contributor

Summary

At the moment Lune has no support for UDP sockets in it's standard @lune/net library.

On a personal project I am working on - Discord requires support for UDP sockets in order to receive and send encrypted voice data, i'm requesting that at some point we look into support UDP sockets, and ideally structuring the UDP socket the same way we handle TCP sockets.

Considerations

net.socket would be too generic?

Ideally we'd swap this to net.tcpSocket, and then introduce net.udpSocket?

@filiptibell filiptibell added the enhancement New feature or request label Jun 6, 2024
@CompeyDev
Copy link
Contributor

I already have an impl for this in place, I might be able to take the time within this week to create a PR (no guarantees, sorry!).

@filiptibell filiptibell added the pending / needs design Awaiting design and/or implementation discussion and decisions label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending / needs design Awaiting design and/or implementation discussion and decisions
Projects
None yet
Development

No branches or pull requests

3 participants