Implement POSIX linux support for poll and netinet_tcp. Incomplete support for netinet/in.

This commit is contained in:
Isaac Andrade
2024-09-02 21:59:03 -06:00
parent 35f961d80f
commit f072136c04
3 changed files with 196 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ package posix
// netinet/tcp.h - definitions for the Internet Transmission Control Protocol (TCP)
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD {
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD || ODIN_OS == .Linux {
TCP_NODELAY :: 0x01