this is my first post on here. I am wondering if there is any disadvantage to using websockets as a communication method for a non-web-based client application to connect to a server?
I am looking at designing a turn-based game, using a client-server approach. I would like to design the game server so that different types of clients can connect to it. Some might be web-based (in which case a websocket seems ideal); however, others might not be browser-based. If I could use websockets for all of them, I would think that might simplify the server-side implementation.
However, there must be some downsides to using websockets, otherwise every client-server application would be using them, right?
(btw, I am planning to implement the server in Java)