Skip to content

Mac OS X support #6

@astavonin

Description

@astavonin

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions