microsoft / microsoft/demikernel

[libos] Support TCP level socket options

Open
#1,282 0 comments 0 reactions 0 assignees View on GitHub

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 only support SO_* options on sockets. We should also support TCP_* options. In particular, the keep alive flag is set at the socket level on both Windows and Linux, but Linux sets the keep alive parameters at the TCP level, while Windows uses a socket level data structure.

Proposed Solution

Unify these into our config files and figure out which direction we prefer (and what the correct hierarchy is).

Alternative Solutions

Give up and go home

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing SO_* socket-option configuration and reviewing how keep-alive settings differ between Linux TCP options and Windows socket-level data. Define the preferred configuration hierarchy and unify both paths, then add coverage for TCP_* options and keep-alive parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.