Re: socket.send : (11, 'Resource temporarily unavailable')

2009-08-14 Thread Grant Edwards
On 2009-08-14, Gabriel Rossetti wrote: > I get a (11, 'Resource temporarily unavailable') error when I > try to send a file using a socket. Is there s size limit? No, there's no size limit. However, there is a bandwidth limit. You can't shove bytes into the pipe faster than they come out the o

Re: socket.send : (11, 'Resource temporarily unavailable')

2009-08-14 Thread Hendrik van Rooyen
On Friday 14 August 2009 09:47:50 Gabriel Rossetti wrote: > Gabriel Rossetti wrote: 8< -- > > Actually, the original code didn't have the sock.setblocking(0), the > problem I am trying to find is that the server does have > sock.setblocking(0) (I can't change

Re: socket.send : (11, 'Resource temporarily unavailable')

2009-08-14 Thread Hendrik van Rooyen
On Friday 14 August 2009 09:15:34 Gabriel Rossetti wrote: > Hello everyone, > > I get a (11, 'Resource temporarily unavailable') error when I try to > send a file using a socket. Is there s size limit? I tried sending a > smaller file and ii poses no problem. Am I doing something wrong? Here > is t

Re: socket.send : (11, 'Resource temporarily unavailable')

2009-08-14 Thread Gabriel Rossetti
Gabriel Rossetti wrote: Hello everyone, I get a (11, 'Resource temporarily unavailable') error when I try to send a file using a socket. Is there s size limit? I tried sending a smaller file and ii poses no problem. Am I doing something wrong? Here is the code: def sendMessage(host, port, m

socket.send : (11, 'Resource temporarily unavailable')

2009-08-14 Thread Gabriel Rossetti
Hello everyone, I get a (11, 'Resource temporarily unavailable') error when I try to send a file using a socket. Is there s size limit? I tried sending a smaller file and ii poses no problem. Am I doing something wrong? Here is the code: def sendMessage(host, port, msg): if isinstance(ms