Hi guys. A little question:

I have a control array (winsocks). I load 3 more winsocks, and later, I unload the 2nd winsock, so I'll have.

Winsock(0) exists
Winsock(1) exists
Winsock(2) doesn't exist
Winsock(3) exists

Later, I need to know something about each one with a loop. How could I know if any of my elements has been unloaded?

I've tried comparing: If not winsock(i) is nothing then... but it says that the element 1 of the control array doesn't exist. Any way to figure out this?

Thanks