From: Andreas K. <and...@ac...> - 2012-08-23 18:05:51
|
On 8/23/2012 9:52 AM, Jeff Rogers wrote: > Colin McCormack wrote: > >>> Not the same thing -- -remoteaddr connects the socket, so you can't >>> send to or receive from other remote addresses. I'm thinking of the >>> situation where you have a list of hostnames that you will send to >>> regularly, and don't want to resolve the name on every [$d send]. >> >> Oh, personally, I would resolve them to IP addresses using an async DNS, >> and use the IP address not a name at that point. > Would it be possible to automatically delegate name lookup to a tcl > function, implemented as a core command by default but that could be > replaced by a script? Or is that kind of C invisibly calling back out > to tcl complicated, risky, and unprecedented? Precedents: Tcl: unknown bgerror Tk: generation of <<ThemeChanged>> events -- Andreas Kupries Senior Tcl Developer Code to Cloud: Smarter, Safer, Faster™ P: 778.786.1122 F: 778.786.1133 and...@ac... http://www.activestate.com Learn about Stackato for Private PaaS: http://www.activestate.com/stackato http://www.tcl.tk/community/tcl2012/ - Tcl'2012, Nov 12-16, Chicago, IL, USA. |