Is it possible to create a socket based multi-player game client using html5?
Does html5 allow socket programming?
Is it possible to create a socket based multi-player game client using html5? Does
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
HTML5 allows a limited bi-directional communication with server via the WebSocket object. It may allow you to write games what use simple networking but it does not allow raw access to underlying network. So the answer to your questions is:
Yes, but this depends on the complexity of the game and you will have to proxy all messages via the server.
No it does not allow socket programming as, say, as a programing platform such as Java does.