netinet_tcp.odin 285 B

1234567891011
  1. package posix
  2. // netinet/tcp.h - definitions for the Internet Transmission Control Protocol (TCP)
  3. when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD {
  4. TCP_NODELAY :: 0x01
  5. } else {
  6. #panic("posix is unimplemented for the current target")
  7. }