• Per Cederqvist's avatar
    (cast_to_sockaddr_in): Removed. · 76f5fca9
    Per Cederqvist authored
    (isc_mkipaddress): Changed struct sockaddr to SOCKADDR_STORAGE.
    (isc_getladdress): Ditto.  Cast argument of getsockname from
    	SOCKADDR_STORAGE* to struct sockaddr*.
    (isc_getraddress): Ditto (but for getpeername instead of getsockname).
    (isc_getipnum): Handle IPv6.
    (isc_gethostname): Ditto.
    (isc_getportnum): Ditto.
    (isc_getservice): Use isc_getportnum to simplify code.
    76f5fca9
isc_socket.c 6.07 KB