async-rs / async-rs/async-std

Add `ttl` and `set_ttl` methods to TcpListener

Open
#1,078 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

Can `ttl` and `set_ttl` methods for `TcpListener` be implemented to enable getting and setting the TTL value of the underlying socket?

Contributor guide

Open the contributing guide

Research direction

Start by locating the TcpListener implementation and tracing how it accesses the underlying socket. Check nearby socket-option tests or related listener methods, then verify that ttl and set_ttl can get and set the socket TTL value and that the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.