Welcome Guest Search | Active Topics | Members | Log In | Register

Modify SO from a remote method call on NetConnection causes socket error Options · View
dixoncb
Posted: Sunday, July 15, 2012 2:28:55 PM
Rank: Newbie Coder
Groups: Member

Joined: 7/19/2011
Posts: 12
Points: 33
Location: UK
Installed V5 on Win7 x64, and everything is going well developing a Flex client against .Net server code.

I am trying, on a single NetConnection, to:

1) Make a remote method call using NetConnection.call()
2) Change a SO value from inside that remote method

as follows:

public string DoRemoteCommand(RemoteCommand com)
{
_aSharedObject.setAttribute("lastCommand", com);
return com.Handler + "|" + com.FunctionName+ "|" + com.InParams;
}

The result is that the call fails. If I comment out the first line of the function code, the call works as expected.

Is this a threading issue?
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.103 seconds.