Jump to content

What do you use for network protocol?


WheelLabs
 Share

Recommended Posts

I recently started development for web. Unfortunately I came from C++ world, as I already mentioned in the topic about our game.

I would like to know, what do experienced web developers use to implement network protocol?

Especially I am interested in real time multiplayer games, when latency should be minimized and message size is critical.

I know a bit about Google protocol buffers and Apache thrift. But at the end I reinvented the wheel. Enjoy some C++ bullshit, if you want: https://github.com/misanthrop/binary-wheel

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Dont expect to run FPS's with websockets, but otherwise it handles fine for real-time click movement. 

My engine has sometimes heavy packet loads entering a new map for instance so what I do is pack the messages send them at an interval, and use the client to break up the messages and process a limited amount at a time with a very short delay.

It also can compress the very large packets but I think its a bit overkill.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...