I have written a code to transfer a large file from client to server using Socket.io
and for doing so, I am breaking the file into small chunks (500KB each block) and sending it to server, but exactly for sending the first chunk of data, client socket will get disconnected and the process gets stopped.
What could be the reason?
I found the solution in this link
The problem was with the chunk (Block) size. I reduced it to 10KB for each block I send to server and now it is working just fine.