SA-MP Forums Archive
Difference b/w Client and Server ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Difference b/w Client and Server ? (/showthread.php?tid=55016)



Difference b/w Client and Server ? - xmen - 10.11.2008

I wanna know what the difference b/w in server 'n' client in downloading bytes...for example...i start server, Connected it through local IP(192.X.X.X) and 3 more player connected to it through net(IP : 59.X.X.X). Lets consider server downloads 3 bytes per second(just example) from every player.
Now the server will download 9 bytes(in my case) from net and 3 from my local IP, m i right ?

come to client side, i start client and connected to the server through net(this time server is not on my pc) and same players connected to it as above, now will client download 9 bytes ? this make sense but i want to satisfy and clear some confusions



Re: Difference b/w Client and Server ? - Cypher - 10.11.2008

I think you will download 6 bytes because you are one of the three clients, and so you dont need to get your own 3 bytes again.
But I dont think that you are getting exactly 6 bytes. Maybe (in this example) 1 byte is a PING byte and another one is only for a command (like /help).



Re: Difference b/w Client and Server ? - Eyzi - 10.11.2008

what's b/w ?


Re: Difference b/w Client and Server ? - pspleo - 10.11.2008

Quote:
Originally Posted by n1neon9n00b
what's b/w ?
bee (t) ween
aka
beat win


Re: Difference b/w Client and Server ? - xmen - 11.11.2008

ohh, guys you misunderstood me, i told you its just an example. I know nothing will happen if you leave the game as it is. Im not moron.

@Cypher: i already deduct my pc bytes thats why its 9 (3players(9) + mine(3) = 12 bytes)

i just need developers answers


Re: Difference b/w Client and Server ? - xmen - 11.11.2008

dude, the question is quite simple however its not exactly matches with what samp does, i know it do not download or upload anything until anyone press a key. The question is about Yes or No(then why?)


Re: Difference b/w Client and Server ? - Extremo - 11.11.2008

I think he is asking for when sa-mp transfers data to everybody, does it just transfer data when somebody presses a key or is it constantly transfering data, if i am right though.


Re: Difference b/w Client and Server ? - xmen - 12.11.2008

forget this