> it appears that there are mistakes in ntohl and ntohs. The problem with _sock_findrock() is that in
/sys/src/ape/lib/bsd/connect.c the #include <sys/stat.h> is missing. Took me a while to figure that one out. I rearranged the #includes to match socket.c, now that the entries are the same. I'm not (yet) going to work my way through each module. ++L