Some problems that may be in the code and are responsible for triggering such kind of a problem are:
-
It may be that you are attempting to use
write()for sending data down a socket instead of using the which is the correct function for that task. -
And for the client you might be using
recv()instead of the right function which isread().
You just need to check that you are using the right functions in the program.
__
Regards
Clair Charles








