for those of you that are noob like me, i found this very useful.

http://www.jason35.com/netcode.htm