hello friends
i wrote a tiny program whice supposed to measure the time in miliSecond that takes a tcpClient to connect.
TcpClient client = newTcpClient();
start = DateTime.Now.Ticks;
client.Connect(ip, port);
finish = DateTime.Now.Ticks;
double miliSecond = (finish - start) / 10000;
|
on my Win7 at home its working great.
at work on win-XP the results are always 0 miliSecond.
could the reason for the difference be the different operating systems?
(I tried frameWork 3.5 and 4 - the same happens)...
any help would be appreciate.