I've looked, and performed a search on this site, but I cannot find any references to how to perform a whois lookup from a c program.
I'm new to C. I want to write a little cgi program that performs a whois lookup for a name entered into a form.
I know I can just type "whois domainname.com" from the command line in linux and get the result. How do I do that, and trap those results in a c program.
Please help.
Tim