Bad socket ID error message seen when file upload code is applied
I have applied file upload code, which utilizes a safe socket to upload all the files to a server via content-type Compound Form-data to write the bytes.
Sometimes, I find a bad socket ID error message, which through investigation in wireshark states me that a fin packet is mailed from the server to the user for a few reasons.
Yet, the code uploads at least 80% as a result, I don’t believe it is a bad format error. Now, my question is, why does the server disconnect the link when the content form says that there is enough data to be sent?
If I can’t work out the bad socket, ID topic and tcp/socket links is let for a reconnection to start the upload again, before disconnection.
Please help me to solve this. I need your help.
Thanks a lot.