microsoft / microsoft/demikernel
[inetstack] UDP should support send when socket is not bound
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Context
Currently we do not support sending from a UDP socket when it is not bound.
Proposed Solution
We should allocate an ephemeral port and use that (and the local IP) to send from if the socket is not bound.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the inetstack UDP send path and how it handles sockets that are not bound. Determine where an ephemeral port and local IP should be selected; done means an unbound UDP socket can send using those values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100