[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-web
Subject:    Re: Interrupt writing to file handle which takes too long time
From:       "$Bill Luebkert" <dbe () wgn ! net>
Date:       2001-08-24 19:12:40
[Download RAW message or body]

Erik Andersson wrote:
> 
> Bill,
> 
> Thank you for your effort and suggestion. I have researched my problem the
> last days and it seems a solution of the kind you suggest is the only one
> available on win32.
> 
> I need to expand my knowledge of the IO::Socket and then it all should be
> solved.

Make sure you use sysread instead of recv/read/<> when reading your sockets 
for my earlier proposed method.

> After having studied other posts on this maillist I found it seems a very
> good idea to implement the alarm function on ActivePerl/win32. Many people
> are missing it and it would make scripts more portable from unix.

Ain't that the truth. :)

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   Mailto:dbe@todbe.com 
  / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic