Compare twice with same string

2 possible copy/paste errors in this example, the argument strings argv[4] and argv[1] are compared to the same std::string twice, rendering the second comparision useless and making it impossible to chose udp or ipv6.