954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem with sending data over tcp/ip

I m trying to sending the data over TCP/IP by segmenting it into different sizes ....with 10KB and 100KB the data is tranferring perfectly but when I segment it to 500KB ..it transfer sometime perfectly and sometime it failed by giving error
socket.error: [Errno 104] Connection reset by peer

jgehlot09
Newbie Poster
13 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

This might help.

You might also put a try statement where the problem happens, and when it hits the except, make it send the data again until it gets through?

And maybe post the code that gives the error.

Tech B
Posting Whiz in Training
268 posts since May 2009
Reputation Points: 59
Solved Threads: 33
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You