Tim Valdez wrote:
> 
> Is there a Perl module that allows you to open and use non-blocking TCP
> sockets that actually works? Every time IO::Socket opens a non-blocking
> socket it immediatly returns an error when I try to use it. any suggestions?

You need to use IO::Selct along with IO::Socket.  Then only read a socket 
that can_read says has data and only read data till you get less bytes than 
what you ask for before going back to can_read to check for more.

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

Reply via email to