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

WIP: Networking code overhaul #2271

Closed
wants to merge 79 commits into from

Conversation

mlgiraud
Copy link
Contributor

@mlgiraud mlgiraud commented Dec 4, 2018

This pull request aims to overhaul large parts of the networking code to reduce coupling and unify client and server networking.
I will be updating this pull request with a more detailed description as work progresses.

I made a small python prototype to test the structure which can be found in the concepts directory.
Deleted, because not needed anymore.

Steps until completion:

  • Python structure demo
  • Scaffolding in the form of structures and type definitions (probably done)
  • NetworkManager implementation
  • TCP ListenerSocket implementation
  • TCP DataSocket implementation (client, server differs only in the initialization function)
  • Swap old networking code for new networking code. This will probably take the most effort and require some modifications of the api that i devised because of unforeseen circumstances
  • Fix existing unit tests server side tests that do not involve the client are up and running
  • Write unit tests for the new networking code
  • After the server side is up and running again start working on the client (separate PR) A separate PR will most probably not be possible. There are too many dependencies to make a clean cut imho.
  • Quick and dirty api change on the client side. Needs cleaning up in separate PR

@mlgiraud mlgiraud changed the title Feature/overhaul/network2 WIP: Networking code overhaul Dec 4, 2018
@mlgiraud mlgiraud force-pushed the feature/overhaul/network2 branch 5 times, most recently from be3b701 to 1edfbfe Compare December 14, 2018 13:51
@mlgiraud mlgiraud force-pushed the feature/overhaul/network2 branch 3 times, most recently from f92434e to a20c157 Compare January 7, 2019 10:52
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541 open62541 deleted a comment from open62541-LGTM-bot Jan 9, 2019
@open62541-LGTM-bot
Copy link

This pull request introduces 1 alert when merging eec4cf5 into bc47ffc - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

Comment posted by LGTM.com

@open62541-LGTM-bot
Copy link

This pull request introduces 1 alert when merging 1f4468e into acd2f4a - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

Comment posted by LGTM.com

@open62541-LGTM-bot
Copy link

This pull request introduces 1 alert when merging e3c69f3 into acd2f4a - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

Comment posted by LGTM.com

@mlgiraud
Copy link
Contributor Author

Continued in #2408

@mlgiraud mlgiraud closed this Jan 31, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants