Re: [Twisted-Python] Just curious about EINTR in socket.recv()

2010-09-14 Thread exarkun
On 12:29 pm, twisted-...@udmvt.ru wrote: >As far as I know, socket.recv() may raise socket.error exception >in case of error return from recv(2) system call. My system's (Linux >i386 2.6.32) >man page say there could be these error values: > > EAGAIN or EWOULDBLOCK > EBADF > ECON

[Twisted-Python] Just curious about EINTR in socket.recv()

2010-09-14 Thread Alexey
As far as I know, socket.recv() may raise socket.error exception in case of error return from recv(2) system call. My system's (Linux i386 2.6.32) man page say there could be these error values: EAGAIN or EWOULDBLOCK EBADF ECONNREFUSED EFAULT EINTR EINVAL