Hello there,
I've written an application that is acquiring an ip address using DHCP and
reads a bunch of files from a TFTP server in the internet.
Right now I've hardcoded the IP address of the TFTP server in my code
because there is no proper implementation for DNS requests in UEFI right
now.
But as a next step I have to extend my application with a DNS service to get
the server ip address out of a domain name using a DNS service.
My question is:
Is there any possibility to use the gethostbydns functionality I found in
the StdLib/BsdSocketLib directly in my current application as a library or
something else?
The best thing would be if I could make a function call or open a protocol -
pass the name that should be resolved to the DNS function and get the ip
address back. But I don't know how or if I can just build that sort of
functionality out of the code in StdLib and how to call it in my current
application.
I really appreciate some help or information on that topic.
Regards,
Michael
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel