I've been given a VB6 program to convert to .NET, and while most of the VB6 specifics I've been able to figure out through googling, there's one that I just have no idea about. Winsock is used, but the conversion utility replaced it with AxMSWinsockLib.AxWinsock. The old code references an index property, which AxMSWinsockLib.AxWinsock doesn't have apparently, but I can't figure out what it's trying to do here. Any ideas?
Public Function PortsOpen(ByRef colWinsock As Collection, ByRef objWinsock As Winsock, ByVal LocalIPAddress As String) As Boolean
Dim Counter As Long
Dim sWS() As String
'Initial to open com. port
Counter = 0
If colWinsock.Count >= objWinsock.Index + 1 Then
sWS = colWinsock.Item(objWinsock.Index + 1)