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

Implement socket options #7

Open
armanbilge opened this issue Sep 25, 2022 · 5 comments
Open

Implement socket options #7

armanbilge opened this issue Sep 25, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@armanbilge
Copy link
Owner

Basically, I was lazy :)

@armanbilge armanbilge added the enhancement New feature or request label Sep 25, 2022
@armanbilge
Copy link
Owner Author

I've already implemented this in typelevel/fs2#3087, in an io-private package. When that lands we can just use it here.

@lavrov
Copy link

lavrov commented Mar 21, 2023

UDP support is coming? Looking forward to try the whole thing out!

@armanbilge
Copy link
Owner Author

@lavrov UDP support is definitely on my radar! It's currently blocked by lack of java.net.NetworkInterface support. Actually, Lee has already implemented that in Scala Native 0.5.x, but it proved to be too difficult to backport 😕

I've been thinking about workarounds for this. I'd be interested if we can add a cross-platform NetworkInterface-like abstraction to ip4s, so that we have something that works on JS as well.

https://github.com/Comcast/ip4s

@LeeTibbert
Copy link
Collaborator

too difficult to backport Too difficult to backport hours before a release which would have no "-rc".

I am about to go on hiatus, but could try again when I return, if that would make things easier.
The Linux-like branch of the backport worked just file. The macOS branch was missing some
tricky work to deal with BSD derived sinX_len fields. I did not want to break 0.4.11 macOS people
by my attempting that on-the-fly. Time to backport is also competing against time JSR-166
concurrency work.

@armanbilge
Copy link
Owner Author

@LeeTibbert I appreciate all your work on that. In my humble opinion we should focus our efforts towards Scala Native 0.5, where everything is working much better anyway. I don't think it's worth the effort to backport that, instead I will try to think of some workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants