• antirez's avatar
    anetResolveIP() added to anet.c. · 2e0ba7bb
    antirez authored
    The new function is used when we want to normalize an IP address without
    performing a DNS lookup if the string to resolve is not a valid IP.
    
    This is useful every time only IPs are valid inputs or when we want to
    skip DNS resolution that is slow during runtime operations if we are
    required to block.
    2e0ba7bb
anet.h 2.86 KB