Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Networking #53

Open
MDFL64 opened this issue Jun 8, 2017 · 2 comments
Open

Refactor Networking #53

MDFL64 opened this issue Jun 8, 2017 · 2 comments

Comments

@MDFL64
Copy link
Member

MDFL64 commented Jun 8, 2017

No description provided.

@MDFL64 MDFL64 added this to the 0.3.0 milestone Jun 8, 2017
@SwadicalRag
Copy link
Member

C++ networking now uses structs. I'm using a nasty compiler hack to compile the structs with the exact offsets. I'm not sure if this will be a problem in platforms that don't use msvc/gcc. We'll have to see.

If we have any further issues with the new networking style, I suggest going for a better solution like protobufs.


Lua networking should stop using the bitbuf from sourcenet and instead use a lua implemented bitbuf


For now I'm happy with your networking mode (first byte decides where the packet is routed) I'll see where I can take this in the future.

@SwadicalRag
Copy link
Member

Checklist:

  • Fix C++ networking and replace C++ bitbuf with structs
  • Remove gm_sourcenet and lua bindings to the C++ bitbuf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants