SYNOPSIS

    inet_get_local_port:long(sock:long)

ARGUMENTS

sock

pointer to the kernel socket