sockets are integers
stricter ipv4 check
add nullptr check for buffer length pointer
add wsaaccept
automatically assign log indices