This commit is contained in:
ge
2026-04-04 00:47:35 +03:00
parent 4e43912583
commit 1cf6d878b5
19 changed files with 438 additions and 302 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ module netio
Well defined address families. Must work on all platforms.
*/
pub const af_unspec = AddrFamily(u16(C.AF_UNSPEC))
pub const af_unix = AddrFamily(u16(C.AF_UNIX))
pub const af_inet = AddrFamily(u16(C.AF_INET))
pub const af_inet6 = AddrFamily(u16(C.AF_INET6))
pub const af_unspec = AddrFamily(C.AF_UNSPEC)
pub const af_unix = AddrFamily(C.AF_UNIX)
pub const af_inet = AddrFamily(C.AF_INET)
pub const af_inet6 = AddrFamily(C.AF_INET6)