IO::Socket using $! == EINTR

Discussion in 'Perl Misc' started by Konrad Eisele, Jul 4, 2005.

  1. Does anyone know a IO::Socket module that handles
    signal interrupt on blocking calls correctly (i.e.
    when using IO::Socket with Curses and receiving xterm
    resize). IO::Socket's filehandler will get invalid
    when returning from a interrupted recv call. It should
    check $! == EINTR but doesn't.
    -- Konrad
     
    Konrad Eisele, Jul 4, 2005
    #1
    1. Advertisements

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. Avizz
    Replies:
    3
    Views:
    14,820
    Andy Fish
    Sep 29, 2003
  2. greatestmclarenfan
    Replies:
    2
    Views:
    750
    Steve Horsley
    Feb 16, 2006
  3. Laszlo Nagy
    Replies:
    1
    Views:
    7,121
    Mark Wooding
    Jan 27, 2009
  4. Steve Holden
    Replies:
    1
    Views:
    986
  5. Ben Gribaudo
    Replies:
    6
    Views:
    398
    Ben Gribaudo
    Apr 19, 2005
  6. Bryan Richardson

    Socket#read raising Errno::EINTR

    Bryan Richardson, Apr 7, 2009, in forum: Ruby
    Replies:
    1
    Views:
    234
    Loga Ganesan
    Apr 7, 2009
  7. oleg korenevich
    Replies:
    4
    Views:
    611
    Mel Wilson
    Feb 2, 2012
  8. Guillaume Comte
    Replies:
    16
    Views:
    1,024
    Grant Edwards
    Aug 23, 2012
Loading...