I've implemented a TCP/IP server using socket, on a Windows 2000 machine, and would like to get an accurate timestamp indicating when the last packet was recieved. I would like to get the accuracy in the msec range. I looked at SIOCGSTAMP in ioctl, but that does not appear to be supported by windows. any ideas ?