in reply to (Ovid - not printing) Re: gethostbyaddr
in thread gethostbyaddr question

Thanks a lot, I was hitting Ctrl-c. How long is the buffer supposed to be anyway? Kaushal Shah
  • Comment on Re: (Ovid - not printing) Re: gethostbyaddr

Replies are listed 'Best First'.
Re: Re: (Ovid - not printing) Re: gethostbyaddr
by mincus (Chaplain) on May 07, 2001 at 02:59 UTC
    you might want to set the autoflush to true, this will force a buffer flush after your print statements.. Just add a--

    $|=1;

    Under your use Socket

    Good luck!

    UPDATE: Sorry about that ovid I didnt even notice that you had already put a $|=1; in your code.


    .mincus
    telnet://bbs.mincus.com