Comments (2)
Sorry for not responding, I have been fairly busy lately.
As far as getting events over to the main thread, I've always just used a thread-safe message pump pattern for this.
A thread-safe queue lies at the core of this, so that your networking thread enqueues messages it receives onto this queue, and then your main thread at some interval dequeues all messages on this queue and processes them.
from netcode.io.net.
from netcode.io.net.
Related Issues (16)
- I am unable to connect using the same key on both the client and server HOT 3
- ByteArrayReaderWriter allocating a lot of memory HOT 2
- NetcodeServer.ClientMessageEvent invoke servise message HOT 1
- Client disconnect affects other clients on the server HOT 2
- question about private Key
- Ipv6 support HOT 1
- .NET Standard / Core Support HOT 2
- Queue locking strategy error in Client Socket HOT 1
- Failed to connect: Invalid Connect Token HOT 2
- Proper C# coding standards HOT 2
- Add some unit tests? HOT 5
- Server: Send broadcast message. HOT 1
- Can't connect to server from other cumputer in local network. HOT 12
- Update to Netcode 1.01 HOT 6
- Connect token expired (Linux) HOT 3
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.io.net.