Hello Unity devs,
I have been researching lately on some networking solutions but I feel lost. I will explain what I am trying to do and I what I did so far.
What I am trying to do?
I just want a dedicated/ internet server that only sends a bunch of (x,y) coordinates to the connected clients when they ask for it.
Clients won’t need to talk to other clients. Just the headless server to the connected clients only when they ask for.
I am a networking newbie. I just got into it 4 days ago. I found that there are two APIs apparently. The LLAPI (Low Level API) which is the best thing out there but I got lost in the documentation and found this video on youtube "
" which made me grasp a bit of what I want to do. The problem is that after watching the video, I tried making a chat application just to test my skills out. It worked somehow but there were a lot of bugs. Anyway, the chat project was left aside as it was done “LOCALLY” with no dedicated/ online server.
I tried googling a bit about how to transform a local server created by LLAPI and host it somehow on the internet so that anyone from any network could connect, but sadly, couldn’t find anything.
I then started looking more into the HLAPI. The documentation was better than the LLAPI but the implementation wasn’t smooth and I got lost. I watched this series "
" by Brackeys and I found that the “Matchmaking” functionality is really nice. Maybe what I want to achieve. Am I going to create 1 room for every client that he and the server would talk to each other. I am sure there is a better way.
Also, sending and receiving data from both servers and clients isn’t clear in the HLAPI … it was a bit clearer in the LLAPI when the N3KEN in his tutorial sent the message size in bytes.
I really feel lost right now and I am back to square one. Any guide or help will be appreciated. Thanks for reading.