Is the net library the fastest way to send info between client/server?
6 replies, posted
Title says pretty much everything. If not, what's the fastest customizable way?
Fastest: NWInts/NWBools/NWFloats, not optimized whatsoever.
Most optimized, Net library, yes.
[QUOTE=Lerpaderp;39604314]Fastest: NWInts/NWBools/NWFloats, not optimized whatsoever.
Most optimized, Net library, yes.[/QUOTE]
Once again, use the NW library if you need it for constant data transmission if not use the net library for a one time change.
Example for NW library uses:
Checking the spectator of a prop on TTT.
Example for net library:
Sending a value to the client one updates on player input.
The net library is faster and more optimized, what are kind of bollocks are you talking here?
NWVars are using some sort of string table which is updates and sometimes takes a rather long time to sync if a huge amount of NWVars are being used.
I'm talking here sending input from the client to the server like double tapping keys and syncing functions.
What? That stuff is already predicted if you do it shared. You don't need to stream those.
[QUOTE=JetBoom;39604655]What? That stuff is already predicted if you do it shared. You don't need to stream those.[/QUOTE]
Its needed for what I do.
Sorry, you need to Log In to post a reply to this thread.