Im working on a TCP/IP program and i load winsock for every connection in a control array...when a person disconnects i unload it

statements i use for loading
Load tcpServer(intMax)

statements i use for unloading
Unload tcpServer(index)

How can i check which controls have been unloaded during the run time?