Anton Sviridov wrote: > There's a socket lib written on C++ which seems to have async v6 > resolving: > [..] > gethostby* functions has been replaced by getnameinfo/getaddrinfo."
Yes, that is the recommended replacement. > > I looked at the code, but they did something strange there, I can't > realize their solution. Maybe you'll be able to? I still do not know exactly how to make it. Currently I waste my time with attempts to get multicasts/broadcasts working, still no luck :( I can see sent data in Wireshark, however the listener doesn't trigger OnDataAvailable. > Though I think the blocking issue shouldn't stop you because > TCustomWSocket.Connect uses blocking > WSocket_Synchronized_GetHostByName anyway. I think in DnsLookup I'll start a thread that populates the IPList. With new property "SocketFamily" set to "sfAny" the list may contain both IPv4 and IPv6 IP-strings, with SocketFamily set to "sfIPv4" or "sfIPv6" just IPs of one family. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be