Please forgive me that I have very limited knowledge on network stuff, and here I might asking a very silly question. Please forgive me.
I always have an issue with starting a server again after I disconnect the previous connection. So here is the flow:
1. Start server by doing TNServerInstance.Start(5127, 0, null, 5129);
2. Play a game with another iPad via LAN connection
3. Leave Channel after finish
4. Disconnect on leave channel
5. Start server by doing TNServerInstance.Start(5127, 0, null, 5129); again
6. Crash
Is it because I am using the same port again or the server is still active so it crashes after I use the same port or something?