Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# core.sys.linux.netinet.tcp

D bindings for the Linux's netinet/tcp.h structures.
Defines constants found in tcp.h header on Linux system.
License:
Boost License 1.0.
Authors:
Nemanja Boric

`TCP_NODELAY`
  Don't delay send to coalesce packets
`TCP_MAXSEG`
  Set maximum segment size
`TCP_CORK`
  Control sending of partial frames
`TCP_KEEPIDLE`
  Start keeplives after this period
`TCP_KEEPINTVL`
  Interval between keepalives
`TCP_KEEPCNT`
  Number of keepalives before death
`TCP_SYNCNT`
  Number of SYN retransmits
`TCP_LINGER2`
  Life time of orphaned FIN-WAIT-2 state
`TCP_DEFER_ACCEPT`
  Wake up listener only when data arrive
`TCP_WINDOW_CLAMP`
  Bound advertised window
`TCP_INFO`
  Information about this connection.
`TCP_QUICKACK`
  Bock/reenable quick ACKs.
`TCP_CONGESTION`
  Congestion control algorithm.
`TCP_MD5SIG`
  TCP MD5 Signature (RFC2385)
`TCP_COOKIE_TRANSACTIONS`
  TCP Cookie Transactions
`TCP_THIN_LINEAR_TIMEOUTS`
  Use linear timeouts for thin streams
`TCP_THIN_DUPACK`
  Fast retrans. after 1 dupack
`TCP_USER_TIMEOUT`
  How long for loss retry before timeout
`TCP_REPAIR`
  TCP sock is under repair right now
`TCP_REPAIR_QUEUE`
  Set TCP queue to repair
`TCP_QUEUE_SEQ`
  Set sequence number of repaired queue.
`TCP_REPAIR_OPTIONS`
  Repair TCP connection options
`TCP_FASTOPEN`
  Enable FastOpen on listeners
`TCP_TIMESTAMP`
  TCP time stamp
`TCP_NOTSENT_LOWAT`
  Limit number of unsent bytes in write queue.
`TCP_CC_INFO`
  Get Congestion Control (optional) info.
`TCP_SAVE_SYN`
  Record SYN headers for new connections.
`TCP_SAVED_SYN`
  Get SYN headers recorded for connection.

Copyright © 1999-2021 by the D Language Foundation | Page generated by Ddoc on Thu Jun 3 21:31:23 2021