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

Discussion in 'Python' started by Jeremy Jones, Oct 27, 2005.

  1. Jeremy Jones

    Jeremy Jones Guest

    Junhua Deng (AL/EAB) wrote:

    >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
     
    Jeremy Jones, Oct 27, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Junhua Deng (AL/EAB)

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

    Junhua Deng (AL/EAB), Oct 27, 2005, in forum: Python
    Replies:
    1
    Views:
    1,171
    dcrespo
    Oct 27, 2005
  2. Laszlo Nagy
    Replies:
    1
    Views:
    4,875
    Mark Wooding
    Jan 27, 2009
  3. gb345
    Replies:
    0
    Views:
    1,375
    gb345
    Feb 3, 2010
  4. uncutstone
    Replies:
    5
    Views:
    139
    uncutstone
    May 16, 2006
  5. Sreenath k

    Error 32 - Broken Pipe . Please Help!!

    Sreenath k, Sep 4, 2012, in forum: Python
    Replies:
    5
    Views:
    520
    Mark Lawrence
    Sep 5, 2012
Loading...

Share This Page