const socket_t: type = if (builtin.os.tag == .windows) windows.ws2_32.SOCKET else fd_t;