libinetsocket.c is fully documented