Hi James and Josh,
Let me rephrase my question: "what is the difference between
setting server's latency to nil and setting it to 0"?
lots of places look up server.latency and use it in sendBundle:
// the server thinks this is too late and complains
s.sendBundle(0, ["s_new", "default", -1, 0, 0]);
// the server silently does this as soon as the bundle comes in
s.sendBundle(nil, ["s_new", "default", -1, 0, 0]);
I use latency nil whenever I need things to respond really quickly,
e.g. with gestural input; or when sending to servers on different
machines without synced clocks.
IMO 'as soon as possible' should be legal, so please leave the
check in!
best, adc
RJK
On Dec 18, 2007, at 10:26 AM, James Harkins wrote:
On Dec 18, 2007 10:03 AM, ronald kuivila <rkuivila@xxxxxxxxxxxx>
wrote:
Hi all,
In Event there is a switch for a Server with latency = nil. When
and why does that ever happen?
If you take out the switch, events will die if somebody sets latency
to nil. Do we want to make it an explicit requirement that you must
have a numeric value in the server's latency variable to use event
patterns?
Obviously it's better for timing if the latency value is there, but
I'm not sure it needs to be an absolute rule - latency or death.
(Cake
or death?)
hjh
--
--
Alberto de Campo
Bergstrasse 59/33
A-8020 Graz, Austria
e-mail : decampo@xxxxxx
--
_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-devel