Skip to content

Conversation

rahulrangers
Copy link
Contributor

This PR introduces a non-blocking, Selector-driven implementation of UDP sockets for the JVM.

Key Changes

New implementation

  • SelectingIpDatagramSocketsProvider
    Binds UDP sockets backed by a DatagramChannel integrated with cats.effect.Selector.

  • SelectingDatagramSocket
    Provides a DatagramSocket[F] implementation with mutex-guarded non-blocking I/O for read and write operations, supporting:

    • Asynchronous reads and writes via Selector
    • Standard socket options (getOption, setOption)
    • Multicast group membership (join, drop, block, unblock)

@mpilquist mpilquist deleted the branch typelevel:topic/net2 September 5, 2025 10:55
@mpilquist mpilquist closed this Sep 5, 2025
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.

2 participants