-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Current version is totally nonoperable on Mac OS X.
Mac OS X structures:
struct sockaddr {
__uint8_t sa_len; /* total length /
sa_family_t sa_family; / [XSI] address family /
char sa_data[14]; / [XSI] addr value (actually larger) */
};
struct sockaddr_in {
__uint8_t sin_len;
sa_family_t sin_family;
in_port_t sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
struct sockaddr_in6 {
__uint8_t sin6_len; /* length of this struct(sa_family_t)/
sa_family_t sin6_family; / AF_INET6 (sa_family_t) /
in_port_t sin6_port; / Transport layer port # (in_port_t)_/
_uint32_t sin6_flowinfo; / IP6 flow information /
struct in6_addr sin6_addr; / IP6 address _/
_uint32_t sin6_scope_id; / scope zone index */
};
Metadata
Metadata
Assignees
Labels
No labels