Private Sub StopProxy() Dim Socket As AxMSWinsockLib.AxWinsock 'looping each connections and close 'em SendToLog("Disconnecting all connection") For Each Socket In sckServer tmrServer(Socket.Index).Enabled = False 'the erro am having is index not a member of AxMSWinsockLib.AxWinsock tmrClient(Socket.Index).Enabled = False 'the erro am having is index not a member of AxMSWinsockLib.AxWinsock System.Windows.Forms.Application.DoEvents() CloseSocket(Socket.Index) 'the erro am having is index not a member of AxMSWinsockLib.AxWinsock Next Socket SendToLog("Proxy server stopped") End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)