By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,621 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,621 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Oct 27 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
When enabling the server, note that you put '' as the IP, and not
'localhost'.

if you put an ip: '172.16.1.2', your server will listen on that IP (if
it's valid)
if you put '', your server will listen on all IPs defined on that
computer.
of you put 'localhost', it will listen for local connections only.

Maybe that's the problem.

Oct 27 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.