{"id":16948453,"url":"https://github.com/dentosal/tcpstate","last_synced_at":"2025-06-22T19:37:23.389Z","repository":{"id":83101312,"uuid":"444136398","full_name":"Dentosal/tcpstate","owner":"Dentosal","description":"Abstract TCP socket implementation in Rust","archived":false,"fork":false,"pushed_at":"2022-01-05T01:04:26.000Z","size":111,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T09:48:01.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dentosal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-03T16:57:51.000Z","updated_at":"2022-12-28T13:31:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb94bf50-cf53-4ac9-8697-37a5d36f0228","html_url":"https://github.com/Dentosal/tcpstate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dentosal/tcpstate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Ftcpstate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Ftcpstate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Ftcpstate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Ftcpstate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dentosal","download_url":"https://codeload.github.com/Dentosal/tcpstate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Ftcpstate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261353964,"owners_count":23146330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:50:49.931Z","updated_at":"2025-06-22T19:37:18.357Z","avatar_url":"https://github.com/Dentosal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tcpstate` - abstract TCP socket libarary for Rust\n\nThis library provides a TCP state machine and data buffers. It is built to be integrated into a larger TCP/IP stack, and does not offer low-level functionality such as parsing TCP packets. It should be usable for BSD-style sockets.\n\nThis libary supports `#[no_std]` as long as a global alloctor is available (`alloc`). It uses flexible callback-based event handling, and avoids allocations whenever possible.\n\n### Not yet implemented\n\n* Proper documentation for...\n    * The pluggable `user_data` handler\n        * Sequence number clock\n    * Anything else\n* User timeouts\n* Persist timer\n* Buffer size limits\n* Accept new connections in TimeWait state as per RFC 1122 page 88\n* Proper window scaling\n* Nagle's Algorithm\n* Congestion control and fast retransmit\n* Storing out-of-order packets\n* `PSH` bit support\n* Selective ACKs\n\n### Support not planned\n\n* `URG`ent pointer support\n\n### State transition graph\n\n![state transition graph](docs/images/state.svg)\n\n(`RST` packet handling is omitted from this graph)\n\n## Contributions\n\nWelcome! Remember to run `cargo fmt` before committing and make sure that tests pass with `cargo test --features std`.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Ftcpstate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdentosal%2Ftcpstate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Ftcpstate/lists"}