I am new to socket programming, I am trying to send some packets to server using the send() function in C++, but I am always getting a 'Broken pipe' error while sending packets to the server. Could you please help me for the below points?
- When the send()function returns the "Broken pipe" errors?
- What are the causes for "Broken pipe" errors in socket programming?
- What will be the solution for "Broken pipe" error from the send()function?
Note: I am using named socket to communicate between client and server.
 
     
    