I succesfully set up the socket gateway and am able to conect to the CF socket gateway and send data from flash to the gateway.
The error I keep getting is when I add return value to the "onIncomingMessage"... cf error always logs "Cannot send outgoing message. OriginatorID "123124124" is not a valid socket id.
I am passing the originatorID as in the docs.... my question is what is a valid originatorID?
<cffunction name="onIncomingMessage" output="no">
<cfargument name="CFEvent" type="struct" required="yes">
<!--- Create a return structure that contains the message. --->
<!--- Get the message. --->
<!--- Where did it come from? --->
<cfset retValue = structNew()>
<cfset retValue.OriginatorID = orig>
<cfset retValue.MESSAGE = message>
<!--- Send the return message back. --->
I really hope I can get an answer hardly any docs or anything online on how to correctly return a message via a socket gateway.
Europe, Middle East and Africa