Thank you for your response, but i have resolved my problem using a second connection port between server and client
Type: Posts; User: alquds
Thank you for your response, but i have resolved my problem using a second connection port between server and client
yes you're right but the JSON file is sent to the server correctly. I avoided using the socket value as the return value of send_fich but the same problem.
envoyer_fich:
int envoyer_fich(int...
yes, when i did a test of a send of message without the file transfer running perfectly.
Otherwise, I used the return values: the send step from client does not return any error but the read step...
Thank you for your answer, but the problem is not about the dynamic allocation or the malloc cast, elsewhere I used char buffer [buffer_size] and the problem remains the same. My main subject is when...
Hello,
I made a program that transfers a JSON file using the client's socket to the server. In fact, I wanted to send a message after receiving the file from the server to the client but apparently...