Hi,
I’m looking for a thread-safe and multi-platform way to resolve both DNS
and NetBIOS (at least on Windows) names to IP addresses. It’s OK if it
blocks, but the other threads must run.
I’d use require “resolv-replace”, but it doesn’t work on Windows systems
(can’t find /etc/hosts) and it wouldn’t do NetBIOS anyway. I’m told
that just require “resolve” will block the other threads.
I wouldn’t mind if it was more than one library. It would be nice if it
were part of the Windows-installer, or could just be added to my
program’s files. This is for PeerTalk, a program I’m writing to chat
over a home LAN with TCP.
Is there anything like this I can use?
Thanks,
···
–
Tom Felker
Miss work? But my life would be nothing without the nucleon plant.
– Homer, The Simpsons