broken pipe error

Hi,

 I am working on AIX 5.3 . I have client-server program which is in ProC.while sending packet to server i am getting error as broken pipe and program exiting.

please help?/?

SIGPIPE is sent when the receiving end of a pipe or socket has been disconnected. If you ignore SIGPIPE (see sigaction()) you will get a trappable error EPIPE instead.

Other than that, you want to check the service on the other machine to see why it's dropping the connection.