Ensure we properly check for sockaddr_in before checking for tcp