SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist mad-onion's Avatar
    Join Date
    Aug 2000
    Location
    Land of the long white cloud
    Posts
    556
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am building a system that needs to do multiple whois requests (about 10-40 domains a time). They are only .com .net or .org domains....it is working fine but it is quite slow.

    Does anyone know of any techniques, code snippets, etc that would help me make it faster.

    Any help appreciated.
    TIA
    SiteOptions >> Services :: Products :: Contact
    Developers of PHP, C++, Visual Basic, MySQL, and more!

  2. #2
    SitePoint Evangelist
    Join Date
    May 2000
    Location
    Canada
    Posts
    533
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use sockets to keep a connection with the whois server open .. write a program in C++ to run as a daemon on your machine which is constantly connected to the whois server

    also, you better contact the whois server owners if you plan to do that, or they might feel like cutting you off for maintaining a persistant connection

    hehe, making a domain search facility? (we'll generate domains for you and tell you if tyhey're registered yet or not?)
    cogito, ergo sum

  3. #3
    SitePoint Evangelist mad-onion's Avatar
    Join Date
    Aug 2000
    Location
    Land of the long white cloud
    Posts
    556
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, i am missing something real obvious im sure.
    But how on earth do you rewind the fp on a fsock.. connection without closing the connection and reopening???

    Help

    Thanks Vinay i am sort of tacking that approach...
    SiteOptions >> Services :: Products :: Contact
    Developers of PHP, C++, Visual Basic, MySQL, and more!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •