I've just found a strange issue in my application and I suspect some kind of race condition.
It seems that InetPing() is somehow involved in this strange behavior and I call it from two different threads.
It can happen that sometimes the calls from the two threads are "simultaneous" and so I wonder if InetPing() is thread-sfae or it's not.
Could someone clarify this, please?