Good day,
the project is a multiplayer game designed for a variety of players (up to 100), like agar.io, and so on. Server in C + +, interface - JavaScript (everything happens inside the browser). The question is how to implement data transfer.
Ideas:
- TCP - WebSocket
- UDP - netcode.io being developed "protocol" (but in view of the fact that portability is only on Windows, the idea has been dropped)
Dear users, can you tell me how best to implement these things. And if WebSocket offers, which library to use for it in C ++?