inet_dns module

Ulf Wiger etxuwig@REDACTED
Thu Dec 2 11:58:09 CET 1999


On Thu, 2 Dec 1999, Magnus Fröberg wrote:

magnus>Instead of creating the dns_rec tuple you should include
magnus>inet_dns.hrl and use the record definitions. You have to
magnus>include it as:
magnus>-include("$ERL/lib/kernel-$KERNEL_VSN/src/inet_dns.hrl") as
magnus>the inet_dns module was not intended for use outside the
magnus>kernel application (e.g. you cant find a man-page for it).
magnus>(Note: $ERL above is your erlang install directory and
magnus>$KERNEL_VSN is the version of the kernel application in your
magnus>installation)

Magnus, wouldn't it be better to use

-include_lib("kernel/src/inet_dns.hrl").

??

/Uffe

-- 
Ulf Wiger, Chief Designer AXD 301         <ulf.wiger@REDACTED>
Ericsson Telecom AB                          tfn: +46  8 719 81 95
Varuvägen 9, Älvsjö                          mob: +46 70 519 81 95
S-126 25 Stockholm, Sweden                   fax: +46  8 719 43 44




More information about the erlang-questions mailing list