3

Im using Delphi XE 5/6, default Indy version, Windows 7. IdMappedPortTCP (component put on Form) redirect local stream from FFmpeg to Twitch.tv and always near 2 hours of streaming i have IdMappedPortTCP1ExceptionSocket Error # 10053 Software caused connection abort. Tried TCPRelay and no problems so i guess something must be wrong in my app. Thanks for suggestions.

mca64
  • 534
  • 1
  • 5
  • 17

1 Answers1

3

10053 is a network error. Most likely a firewall or router is cutting the connection after it is idle for too long. I would try using Indy's TIdEventStream class as explained in the answer to this post:

How to avoid getting an error 10053 (WSAECONNABORTED) if a HttpGet operation in Android is lasting too long?

Community
  • 1
  • 1
Jason Enochs
  • 1,436
  • 1
  • 13
  • 20
  • this problem was reproduced on few computers. Diffrence is only time. On my computer is near 110 minutes, on other 130 minutes. Thanks for info. – mca64 Jul 05 '14 at 17:04
  • Yes, different computers will timeout the connection at different times depending on what's actually timing out the connection (antivirus, firewall, router, etc.) Your app is using the connection but something on (or connected to) your computer sees it as idle. If the connections appears idle to your computer, it will most likely look idle to the other computers as well. – Jason Enochs Jul 05 '14 at 17:13
  • 1
    wow, it works! enabling TCP keep-alives resolved my problems. Too bad this isnt as a property for mapped port, but finally after two months trying everything, now no more problem. Once again thank You!! You are my hero. – mca64 Jul 05 '14 at 20:03