Advertisement

Saving the bytes

Started by June 06, 2006 11:01 PM
0 comments, last by hplus0603 18 years, 8 months ago
I am currently making a multiplayer fps game and am facing a small problem. Between the server and client I am planning to transfer co-ordinates of the players and some more info(all in floats). Currently, while transfering float values get transfered as string(thus taking more space). Is there a mechanism by which only 4 bytes(as in memory) are transfered of each float value???
Please see the Forum FAQ Q15) and Q23). You might also want to look at Q8).
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement