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
Post a Comment