How do you implement the server if you make mini games that run on the web?

Asked 2 years ago, Updated 2 years ago, 69 views

I've only used Java sockets I'm a clean guy with no cloud experience On the cloud server-based web Simple users vs. users. If you sell omok, I'm asking you this question because I'm curious about how to implement the server<

web socket cloud server

2022-09-20 17:26

1 Answers

I know it's just a theory, but... It doesn't matter if the server is cloud or not, and it's important if the server can keep the websocket open. PVP like concave (of course, you can force a long polling technique) because information has to come and go from time to time like a kind of chat. The server side often uses node.js to launch the websocket server, and the client side can implement the JavaScript app according to the WebSocket specification.

However, according to MDN,

A web socket server is a TCP application that is listening to any port on a server that follows a particular protocol. A web socket server can be developed in any server-side programming language.

That's what he said... Implementing a websocket server as soon as you know the core will not be too difficult.

And... Let's not use the expression '~lin' unless you have to.


2022-09-20 17:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.