This content has been marked as final. Show 3 replies
I'm using flash lite 2.1 under Windows Mobile and I'm trying to connect to my host application (.net/C#) to write some data into a file.
Here is my code in the AS-File:
var result_lv:LoadVars = new LoadVars(); var send_lv:LoadVars= new LoadVars(); send_lv.value = value; send_lv.action = type; send_lv.id = id; send_lv.file = file; send_lv.sendAndLoad("http://127.0.0.1:8181/", result_lv, "GET");
For the first 6 times it works as expected but afterwards I get the following error from the TcpClient in the host application:
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
Is there something of a connection limit in FL and the connections of LoadVars are not closed? If yes, how can I close them?
Any other ideas?