This is a nice idea.
Is the intention to allow one to plug a custom name lookup mechanism into
libmill (with perhaps providing a default mechanism)?
I really like the idea of being able to provide a custom lookup mechanism
outside of the libmill source.
VBR,
-joe
On Fri, Jul 31, 2015 at 2:16 AM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
Hi all,
I've just pushed a patch to the mainline that separates address resolution
from TCP/UDP APIs. For example:
ipaddr addr = ipremote("192.168.0.111", 5555, 0, -1);
tcpconnect(s, addr, -1);
This change would allow to add DNS and local interface name resolution to
libmill.
It also makes the entire API more consisten.
Thoughts?
Martin