[issue7887] errno 107 socket.recv issure

2010-02-08 Thread Jordan Apgar

New submission from Jordan Apgar :

I have a simple tcp server and client where the server sits and waits for a 
message and then processes it, my client sends its first message to the server. 
 On the server I receive: 
socket.error: [Errno 107] Transport endpoint is not connected
when calling
msg = self.socket.recv(self.buffer)

My client receives the error:
socket.error: [Errno 104] Connection reset by peer
when calling
msg = self.socket.recv(self.buffer)

I was working on the server and client over the weekend and sending and 
receiving worked fine, I wanted to debug a few things and I get this when I try 
to run it (no changes made from what I had on the weekend)

--
components: None
messages: 99074
nosy: twistedphrame
severity: normal
status: open
title: errno 107 socket.recv issure
versions: Python 2.6

___
Python tracker 
<http://bugs.python.org/issue7887>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7887] errno 107 socket.recv issure

2010-02-09 Thread Jordan Apgar

Jordan Apgar  added the comment:

Sorry I was under the impression this was an issue with the socket module

--

___
Python tracker 
<http://bugs.python.org/issue7887>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com