Address.from_sockaddr


Description:

[ CCode ( has_construct_function = false ) ]
public Address.from_sockaddr (void* sa, int len)

Returns a Address equivalent to sa (or null if sa 's address family isn't supported)

Parameters:

sa

a pointer to a sockaddr

len

size of sa

Returns:

the new Address