socket + IPv4, tests