Connecting Unity to a Flash server

Hello,

I am currently researching solutions for a client who needs to develop different multiplayer games in both Flash and Unity in order to share common back-end components (ie. game lobby, chat, etc.).

My plan would be to port the client API of a Flash multiuser server to Unity. Is it something that is feasible by a 3rd party like me? Is it possible to develop a custom client using the Network class (or something else in Unity)?

I saw the documentation for the Network class and I was wondering whether this was already bound to an existing protocol or if it was simply a network socket where we can send and receive pretty much what we want.

Unity is not something I have hand on experience with so please be indulgent if I’m asking for something completely obvious :wink:

Thanks a lot

You can use the .NET socket API to connect to any kind of networking protocol using UDP or TCP.

See various examples on the script wiki:

Great, that is exactly what I was looking for.
Thank you very much!