in reply to Re: Problem with non-blocking sockets example from Cookbook - send() vs EWOULDBLOCK
in thread Problem with non-blocking sockets example from Cookbook - send() vs EWOULDBLOCK

I wrote the client. It originally used my $str = <$socket> etc. When problems started developing, I rewrote using sysread, syswrite, to no avail. Moreover, I can have the same problem occur using Linux's telnet as a client. Are you going to tell me that's at fault?

I agree that perhaps sending so much data at once is an unusual, but it should not be exceptional.

Where I come from, it's better to fix the problem rather than the symptoms.

Macdee

  • Comment on Re: Re: Problem with non-blocking sockets example from Cookbook - send() vs EWOULDBLOCK