c# - Sockets doesn't send data after a long break -


i'm writing client-server application (client in as3-air, server in c#).

after establishing connection can transfer files each other, etc. good.
however, if socket connections have long break (while still connected), connection stops sending data.

it's weird, because actionscript socket ".connected" returns true. same c# server.
did face problem?

i'd suggest sending ping (and replying pong) every 10 seconds.


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -