added more socket.'s

in front of AF_INET6