Re: socket.error: (32, 'Broken pipe'): need help

J

Jeremy Jones

Junhua said:
Hi,
I have a simple server-client application with threading. It works fine when both server and client on the same machine, but I get the following error message if the server is on another machine:

... ...
self.socket.send(outgoingMsg)
socket.error: (32, 'Broken pipe')

I do not know where to start with?

Thanks
Junhua
Can you tell if the recipient actually got any of the data? At what
point do you get this error? Is the client able to connect to the
server? Could you extract some more code (connection made, the sender's
sending code, receiver's receiving code, etc.) so we can see what you're
doing? Did you happen to tell the server to bind "localhost" or 127.0.0.1?

- jmj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top