Testing gethostbyname() blocking

Discussion in 'C Programming' started by raseelbhagat@gmail.com, Feb 19, 2008.

  1. Guest

    Hi,

    I am planning to replace the gethostbyname() blocking call with the
    asynchronous library routines , i.e., libcares.

    But, before I do that, how do I go about testing the blocking call ,
    and subsequently on replacing with libcares routines, the
    asynchronousity (i know ,it;s not even a word)

    Thanks,
    Raseel
    http://www.raseel.in/techblog
     
    , Feb 19, 2008
    #1
    1. Advertising

  2. Richard Bos Guest

    "" <> wrote:

    > I am planning to replace the gethostbyname() blocking call with the
    > asynchronous library routines , i.e., libcares.


    Then you need to ask in (probably!) comp.unix.programmer. comp.lang.c
    deals with portable ISO C. What you're trying to do is rather system-
    dependent. You will get better answers in a system-specific newsgroup.

    Richard
     
    Richard Bos, Feb 19, 2008
    #2
    1. Advertising

  3. Guest

    On Feb 19, 2:11 pm, (Richard Bos) wrote:
    > Then you need to ask in (probably!) comp.unix.programmer. comp.lang.c
    > deals with portable ISO C. What you're trying to do is rather system-
    > dependent. You will get better answers in a system-specific newsgroup.
    >
    > Richard


    Ok Thanks Richard.
     
    , Feb 19, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hendra Gunawan
    Replies:
    1
    Views:
    12,934
    Allan Herriman
    Apr 8, 2004
  2. Andre Kelmanson

    blocking i/o vs. non blocking i/o (performance)

    Andre Kelmanson, Oct 10, 2003, in forum: C Programming
    Replies:
    3
    Views:
    982
    Valentin Tihomirov
    Oct 12, 2003
  3. nukleus
    Replies:
    14
    Views:
    881
    Chris Uppal
    Jan 22, 2007
  4. marc wyburn

    gethostbyname blocking

    marc wyburn, Apr 22, 2009, in forum: Python
    Replies:
    2
    Views:
    745
    marc wyburn
    Apr 24, 2009
  5. Jean-Paul Calderone

    Re: gethostbyname blocking

    Jean-Paul Calderone, Apr 22, 2009, in forum: Python
    Replies:
    1
    Views:
    1,370
    marc wyburn
    Apr 22, 2009
Loading...

Share This Page