-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
138: Use Mio socket rather than a blocking socket from the std library r=timonpost,fhaynes a=jstnlef Based on what @TimonPost mentioned the other day, I took another look at how I could put together a minimum PR for the changes I made to my own re-implementation of Laminar using a mio socket while cleaning up the mutexes. This is that minimum PR. That said, a few of the naming changes did make it in because I believe that the present names are misleading. However, some of the larger restructuring can be held off for another time. One of the interesting upshots I've noticed is that I've yet to run into [this issue](#134) running the same test. Co-authored-by: Justin LeFebvre <[email protected]>
- Loading branch information
Showing
34 changed files
with
616 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
[package] | ||
name = "laminar" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
authors = [ | ||
"Lucio Franco <[email protected]>", | ||
"Fletcher Haynes <[email protected]>", | ||
"TimonPost <[email protected]>", | ||
"Justin LeFebvre <[email protected]>" | ||
] | ||
description = "A simple semi-reliable UDP protocol for multiplayer games" | ||
keywords = ["gamedev", "networking", "udp", "amethyst"] | ||
|
@@ -24,10 +25,12 @@ travis-ci = { repository = "amethyst/laminar", branch = "master" } | |
[dependencies] | ||
byteorder = "1.2" | ||
crc = "1.8" | ||
crossbeam-channel = "0.3" | ||
failure = "0.1" | ||
failure_derive = "0.1" | ||
lazy_static = "1.1" | ||
log = "0.4" | ||
mio = "0.6" | ||
rand = "0.5" | ||
clap = { version = "2.32", features = ["yaml"], optional = true } | ||
env_logger = { version = "0.6", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.