This is probably a dumb question, but... I was wondering if calling
LocalConnection::connect() to receive a SWF "message" blocks until a
message is sent by a client, or does it return with an error if nothing
is waiting ? Or start a background thread to process messages ? The
clean docs I've found on the net don't really say.
I've implemented chunks of NetConnection and LocalConnection today, and
was wondering. I don't see any event handlers for incoming data as in
XMLSocket, so I'm assuming the call blocks until a message is
received... and LocalConnection::connect() must be called for each new
message. Or does LocalConnection::connect() function like a main event
loop, and just keep processing methods for the client ? Seems to be a
simple RPC mechanism.
- rob -
_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash