ok, so if there is a function being called from main it is ran on both the server and the client if it is not set aside to just the server or just the client.
if I am getting this correctly, then main should really be set up in two sections....everything I want the server to perform in a ifdef server, or esle if (connection == 1); and anything i want the client to do without the server doing it has to be put in the ifedf client; or else if (connection == 2)....as far as the "main" function is concerned?
Looks to me if you do not split it up that way, hten you have the same function running on both the client and the server, when that is not always nessasry...is this all correct? if not I am trying to learn, so any help would be aprreciated.