Well, depends...If your 'users online' script counts the number of different IPs that are connected, but 2 employees from the same company access your site, and they go through their company proxy server, then your script will think that both employees are coming from one IP, and therefore will count them as 1. Same thing for LANs. If all the people in a LAN were using a proxy, then your script would only count them as 1.
Diego