Comments (6)
This trait's main purpose was to allow easy and modular testing and I didn't think it would be of any use as public, that's why the module was made private.
Having said that I see no problem at all in making it public :)
Out of curiosity, could you elaborate about your specific use-case?
from netcode.
I wanted (just to learn rust + networking) to create a networking library where I would work on passing messages reliably + fragmentation (equivalent of reliable.io if I understand correctly), but use your library for all the logic of establishing a secure connection (equivalent of netcode.io).
I'd like my library to be transport-agnostic so that I could potentially use transports that are compatible with browsers via wasm (webtransport or webrtc, potentially?)
Here's an inspiration which is transport-agnostic! https://github.com/naia-lib/naia/tree/main
from netcode.
Sounds great!
FYI, I plan to implement a reliable.io
layer as a feature for this crate (when I'll have some extra time to spare).
Until then, I will start working on making Transceiver
public.
Turns out it won't be as straight forward as just adding pub
to the module. Currently there is no easy way to obtain a Client
or a Server
with a custom Transceiver
at all, since new
is only implemented for Server<NetcodeSocket>
and Client<NetcodeSocket>
.
My current plan is to generalize most of the behavior in those implementations and add a with_custom_transceiver
method to both Client
and Server
.
from netcode.
Awesome; is there a way I could chat with you? Maybe on discord?
from netcode.
Sure :)
My discord is wicked_lama
from netcode.
@cBournhonesque I opened #8 to address this issue.
It would be great if you could try it out and see if it suits your use case!
from netcode.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcode.