-
Notifications
You must be signed in to change notification settings - Fork 4
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
added udpServer/Client direct write options, fixed issue with udp non… #64
Conversation
lwahlmeier
commented
Oct 3, 2018
- added in DirectWrite support for udp client/server. This allows you to write to a udp socket w/o having to use the selector. Since UDP will just drop packets if you overfill its socket buffer timing and buffering have to be handled by the implementor. This is more for RTC type communication since its more important to reduce delay to socket then guarantee delivery.
- Fixed non-direct write issue in UDPServer, where the server could mixup the settableListeneeablefuture and the buffer its was tied too if more then one write came in on multiple clients for that server.
…-direct writes possibly getting the future and buffer our of sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good, a few comments / questions posted.
Before we release this, do you mind if I also update to the latest threadly (5.28), as well as the latest gradle wrapper?
Resolved the issue you had, also updated versions of threadly and LS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one comment around the gradle upgrade
@@ -1,5 +1,5 @@ | |||
distributionBase=GRADLE_USER_HOME | |||
distributionPath=wrapper/dists | |||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip | |||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-bin.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you mean 4.10.2
here. If updating gradle you will need to update the build.upload
like this as well:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I will get that done
Fixed the gradle wrapper and upload script, take a look and merge it if you are good with it all. |
I will release this now |