Hi! TNet is something i think it will be very useful as NGUI was to me! But being a beginner in networking i am struggling like i once was with NGUI. But i think when i get a handle of it will be easy to get things done.
I was going through examples and i played with them a bit, the most useful situation for me is the fact that it is possible to create a server on mobile device and let others connect. I doubt that i will use standalone server for now, its good to know that is possible too.
So i have a few questions
1.) in the example menu you used Update() to get the list of available servers. Is there and event that fires when servers are available? I would avoid using Update (i could use coroutines to periodically check for servers though, but event would be great), how to broadcast to everybody on lan that there is new server started
2.) i do not understand how to distinguish between the client and host. if one player starts the server, is his device a host? and is there a difference how host connects to server from client? is that the reason why there are few types of TNManager.Connect methods?
3.) when we should be using udp and when tcp? do we need to start to StartUDP at the beginning?
these are my questions for now! i am sorry that most of them are beginner questions, but a lot of new info is there that i have to process
Thank you!