RTMP, WebOrb, Comet-like approach

Hi at all,
first time with Unity3D and first problem for me in order to understand networking communication.

In Flash, usually I use RTMP-Client in order to communicate with Server.
Or, in alternative, i use Consumer/Producer and Loader in order to call an Asp.Net page and pass arguments.

How about Unity ? :slight_smile:

Daniele

I want to publish for Unity Web Player

http://unity3d.com/support/documentation/ScriptReference/WWW.html and http://unity3d.com/support/documentation/ScriptReference/WWWForm.html

WWW don’t allow me to pass complex object like Object, Array, Typed value to the server.

I have see that there are engine (server+client) like SmartFox 2X that have Unity3D client.
But I have not see any client-only solution.

Daniele

You can pass it through the same way they do: serializing it to byte[ ] (thats what everything does, there is no networking that will pass through objects only serialized data).

What you pass through best depends on the server side and whats most optimal parsing there, if its byte[ ], string or something like XML/JSON, all 4 are an option, but if its an asp / php page on the other side I would go with xml and WWW + WWWForm