<@U02P85RLVDL> type is the socket type as in SOCK_...
# general
s
@Tor Houghton type is the socket type as in SOCK_DGRAM (UDP), SOCK_STREAM (TCP) etc. You can find values for those in
/usr/include/bits/socket_type.h
. Converting that value to hex we can see that it’s 0x80002; 2 is SOCK_DGRAM and anything that’s >= 0xF it’s a socket flag. We can see SOCK_CLOEXEC which is 02000000 in octal, which translates to 0x80000
👍 1