Hi,
From A TCP client when i call the send to server. It is giving Broken Pipe error.
Hi,
From A TCP client when i call the send to server. It is giving Broken Pipe error.
A hint would be that the other end of the connection must be closed. Please check that part.
A broken pipe occurs whenever you try to write data to a pipe but all of the readable ends of the pipe have closed. In your case, it sounds like the server has closed the connection. To see what caused the problem, call perror or strerror.