Might be worth adding This crash doesnt seem to occur when your not connected to a network, well, i cant get it to anycase..
However, it does occur, check your memory usage while running your above loop, on Win2k, here, it jumps to 19000 and the error produced is..
Application exception occurred:
App: (pid=1304)
When: 7/8/2004 @ 16:59:08.953
Exception number: c0000005 (access violation)
Eamonn.