library for whois ???
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > library for whois ???




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    library for whois ???  
Etno


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:17 PM

Hey folks,

I'm writing a C++ application.  I was wondering if there is a C++ library
that allows me to make whois calls and store the results in a datastructure
of some kind.

I know windows has these libraries, but not sure about the unixes or
linuxes.

Anyone know if this is possible and if so what library is used?

Thanks a lot!







[ Post a follow-up to this message ]



    Re: library for whois ???  
James Chen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:17 PM

If you are working on Unix now, you can look up the function by using
"grep".
As I remember, there is a similar C function. You can call it in your C++
application.

James

"Etno" <m@i.com> wrote in message
news:VSGqb.15426$1N3.7638@twister.nyroc.rr.com...
quote:
> Hey folks, > > I'm writing a C++ application. I was wondering if there is a C++ library > that allows me to make whois calls and store the results in a
datastructure
quote:
> of some kind. > > I know windows has these libraries, but not sure about the unixes or > linuxes. > > Anyone know if this is possible and if so what library is used? > > Thanks a lot! > >




[ Post a follow-up to this message ]



    Re: library for whois ???  
Barry Margolin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:17 PM

In article <5nUqb.2817$XDB.997@news01.bloor.is.net.cable.rogers.com>,
James Chen <chenzhijian@hotmail.com> wrote:
quote:
>If you are working on Unix now, you can look up the function by using >"grep".
Huh? Don't you mean "man"? Grep is used for searching for a string in a text file.
quote:
>As I remember, there is a similar C function. You can call it in your C++ >application.
I've never heard of such a function being a standard, or even common, part of Unix. You can use system() or popen() to run the "whois" shell command, but that's it. If there's a functional interface, it's in a third-party library.
quote:
>"Etno" <m@i.com> wrote in message >news:VSGqb.15426$1N3.7638@twister.nyroc.rr.com... >datastructure > >
-- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the gro up.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:30 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register