• Lionel Flandrin's avatar
    Problem: the UDP address code uses an ad hoc custom parser · 2dc85794
    Lionel Flandrin authored
    Solution: replace it with the ip_resolver code shared with the TCP
    address code
    
    It simplifies the UDP parsing code and makes it behave more like the
    TCP counterpart, in particular it's not possible to connect to hosts
    by name and bind by NIC names.
    
    It also adds support for "*" port resolving to 0 (useful to let the OS
    allocate the port number).
    2dc85794
unittest_udp_address.cpp 4.27 KB