Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
socket2
Public
Notifications
You must be signed in to change notification settings
Fork
300
Star
860
Code
Issues
21
Pull requests
6
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
All time
Commit history
Commits on Jul 24, 2026
Add NuttX to CI
wllenyj
authored
242670a
View commit details
Copy full SHA for 242670a
Browse repository at this point
Commits on Jul 13, 2026
Release v0.6.5
Thomasdezeeuw
committed
239dd83
View commit details
Copy full SHA for 239dd83
Browse repository at this point
Commits on Jul 8, 2026
nuttx: type IovLen to c_ulong
Show description for 4b7a11c
wllenyj
authored and
Thomasdezeeuw
committed
4b7a11c
View commit details
Copy full SHA for 4b7a11c
Browse repository at this point
Commits on Jul 7, 2026
Support NuttX
wllenyj
authored
8f1c684
View commit details
Copy full SHA for 8f1c684
Browse repository at this point
Commits on Jun 30, 2026
Enable Socket::(set_)tos_v4 on illumos
taspelund
authored
9f30d66
View commit details
Copy full SHA for 9f30d66
Browse repository at this point
Commits on Jun 9, 2026
Define keepalive options for Emscripten
guybedford
authored and
Thomasdezeeuw
committed
f305cc9
View commit details
Copy full SHA for f305cc9
Browse repository at this point
Add support for wasm32-unknown-emscripten (#660)
Show description for f9dff09
guybedford
authored
f9dff09
View commit details
Copy full SHA for f9dff09
Browse repository at this point
Commits on May 28, 2026
Release v0.6.4
Thomasdezeeuw
committed
9f41644
View commit details
Copy full SHA for 9f41644
Browse repository at this point
Commits on May 27, 2026
Special case assume_init for Bool on Windows (#655)
Show description for 5f64403
ChrisDenton
authored
5f64403
View commit details
Copy full SHA for 5f64403
Browse repository at this point
Commits on May 5, 2026
Split target_os = "nto" cfg by env so io-sock variants use TCP_KEEPIDLE (#654)
skarlsson
authored
c93d95a
View commit details
Copy full SHA for c93d95a
Browse repository at this point
Commits on May 4, 2026
Port to horizon-os/n3ds (#653)
Show description for 27c0204
kore-signet
authored
27c0204
View commit details
Copy full SHA for 27c0204
Browse repository at this point
Commits on Apr 20, 2026
Convert the FreeBSD tests to Github Workflows
Show description for 602e784
asomers
authored and
Thomasdezeeuw
committed
602e784
View commit details
Copy full SHA for 602e784
Browse repository at this point
Commits on Apr 13, 2026
Implement Send for MsgHdr and MsgHdrMut
Show description for b8d727f
sjthomason
authored and
Thomasdezeeuw
committed
b8d727f
View commit details
Copy full SHA for b8d727f
Browse repository at this point
Commits on Mar 6, 2026
Release v0.6.3
Thomasdezeeuw
committed
642df44
View commit details
Copy full SHA for 642df44
Browse repository at this point
Commits on Feb 14, 2026
Fix broken Windows MSRV CI (#641)
Show description for e47157c
pmcgleenon
authored
e47157c
View commit details
Copy full SHA for e47157c
Browse repository at this point
Commits on Feb 13, 2026
Add wasm32-wasip2 target support (#639)
Show description for 0955c52
ricochet
and
nickrum
authored
0955c52
View commit details
Copy full SHA for 0955c52
Browse repository at this point
Add Socket::(set_)ip_transparent_v6
pmcgleenon
authored
1a24057
View commit details
Copy full SHA for 1a24057
Browse repository at this point
Update to windows-sys 0.61
Show description for b1f6b27
hanna-kruppe
authored and
Thomasdezeeuw
committed
b1f6b27
View commit details
Copy full SHA for b1f6b27
Browse repository at this point
Commits on Feb 10, 2026
Add capability to set TCP ACK Frequency on Windows (#638)
derek-will
authored
43ba0ed
View commit details
Copy full SHA for 43ba0ed
Browse repository at this point
Commits on Jan 23, 2026
Release v0.6.2
Thomasdezeeuw
committed
9a30f4f
View commit details
Copy full SHA for 9a30f4f
Browse repository at this point
Commits on Jan 13, 2026
make `MsgHdr` and `MsgHdrMut` `repr(transparent)` to allow legally obtaining `libc::msghdr` from those types
nerodono
authored and
Thomasdezeeuw
committed
3403a44
View commit details
Copy full SHA for 3403a44
Browse repository at this point
Commits on Jan 2, 2026
Don't set SO_NOSIGPIPE when accepting sockets (#632)
Show description for feac83a
Thomasdezeeuw
authored
feac83a
View commit details
Copy full SHA for feac83a
Browse repository at this point
Test MSRV on Windows in CI
hanna-kruppe
authored
3fe6576
View commit details
Copy full SHA for 3fe6576
Browse repository at this point
Commits on Dec 26, 2025
Re-enable CI check for armv7-sony-vita-newlibeabihf
pheki
authored and
Thomasdezeeuw
committed
a18be6a
View commit details
Copy full SHA for a18be6a
Browse repository at this point
Commits on Dec 22, 2025
Fix some typos in comments
xibeiyoumian
authored
853f9a7
View commit details
Copy full SHA for 853f9a7
Browse repository at this point
Commits on Dec 1, 2025
Fixed cfg in original_dst_v6 test (#626)
boris-n
authored
299c2e5
View commit details
Copy full SHA for 299c2e5
Browse repository at this point
Commits on Nov 17, 2025
Enable CI for aarch64-apple-visionos
Show description for 9463a02
Thomasdezeeuw
committed
9463a02
View commit details
Copy full SHA for 9463a02
Browse repository at this point
Commits on Nov 16, 2025
fix getsockopt generic argument in notsent_lowat
the8472
authored and
Thomasdezeeuw
committed
4af7d3d
View commit details
Copy full SHA for 4af7d3d
Browse repository at this point
Commits on Oct 28, 2025
Update FreeBSD CI environment
Show description for a0810cd
asomers
authored
a0810cd
View commit details
Copy full SHA for a0810cd
Browse repository at this point
Commits on Oct 13, 2025
Release v0.6.1
Darksonn
authored and
Thomasdezeeuw
committed
d0ba3d3
View commit details
Copy full SHA for d0ba3d3
Browse repository at this point
Commits on Oct 11, 2025
Add example to create `SockAddr` from `libc::sockaddr_storage` (#615)
shaun-cox
authored
3a8b7ed
View commit details
Copy full SHA for 3a8b7ed
Browse repository at this point
Commits on Oct 7, 2025
Disable armv7-sony-vita-newlibeabihf CI check
Show description for b54e2e6
Thomasdezeeuw
committed
b54e2e6
View commit details
Copy full SHA for b54e2e6
Browse repository at this point
Update feature `doc_auto_cfg` to `doc_cfg`
Show description for 2d4a2f7
Oyami-Srk
authored and
Thomasdezeeuw
committed
2d4a2f7
View commit details
Copy full SHA for 2d4a2f7
Browse repository at this point
Add missing components when installing Rust in CI
Thomasdezeeuw
committed
11aa102
View commit details
Copy full SHA for 11aa102
Browse repository at this point
Commits on Sep 4, 2025
Add TCP_NOTSENT_LOWAT socketopt support
Show description for 528ba2b
the8472
authored and
Thomasdezeeuw
committed
528ba2b
View commit details
Copy full SHA for 528ba2b
Browse repository at this point
Previous
Next
You can’t perform that action at this time.