70 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
bruh i have a tcp connection
i mean a tcp server
and i connect to it via the local network from my iphone
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i need to get the latency in how long it took for the server to reach the phone
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
the server is a c# server running on a windows machine
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i dont get how to do it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i know how to get how long it takes for the iphone to reply
but i dont get how to calculate how long it took for the first message to reach the phone
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
then what
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
their clocks are different
i need to get it synced up to the 0.001 millisecond
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
so send msg to iphone
iphone send message back
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i dont really understand
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but whats counting
the server
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok that gets
server to client to server
time
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but i need server to client time
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
if the clock is running on the server
and it only stops
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
when the client sends a message back
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
no sir you are dumb
what dont you understand
SERVER TO CLIENT
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
how do you sync it up if each machine has a unique clock
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
im listening
ok sir
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok
so you start
lets say at epoch time
0
then you end
at 3
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok what do you use
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what do you use then
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok so you just add delta time each frame
which is stopwatch
so lets say the stopwatches total is 3
how do you extract the server to client from that ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok so how do you extract server to client
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
divide the total by 2?
idk
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
so you cant get client to server time
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
well thats essentially what i need
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
should i switch to udp for a lower latency
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
no no i get it
thank you
should i switch to udp for lower latency
i need to minmise latency
that would be nice
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
well i mean im trying to sync the iphone camera to my computer
basically
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
even on the local network?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what if you like disconeect from the internet
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
or like idk disconnect from like the public interent
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ill do a ping
i think its like 3 ms
if i could i would use a usb cable to sync data but apple doesnt allow that
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View