TADNS is small, portable asynchronous DNS lookup library written in ANSI C. Works on Windows and UNIX. Extremely simple and clean API. The sourcecode resides in single .c file.
Bluemodem will handle all aspects of configuring and connecting to any device that is capable of using dialup networking (Linux only). With all source code. Currently tested with 92 phones and 8 providers.