.net socketed get example - WeOnlyDo Discussion board

.net socketed get example (wodHttpDLX)

by c, Tuesday, May 18, 2010, 03:47 (5091 days ago)

how would i do multiple calls with wod and still be able to get the data faster? here's an example i wrote to further better explain what i need to do...

Option Explicit On
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim i As Long
Dim http(5) As wodHttpDLXComLib.wodHttpDLXCom

For i = 1 To 4
http(i).URL = http://www.weonlydo.com
http(i).Get()

'THIS IS 2 SLOW IN VB6 IT WAS EASIER TO DO ARRAYS...
If (http(i).LastError = 0) Then
TextBox1.Text = http(i).Response.Body
Else
TextBox1.Text = http(i).LastErrorText
End If
Next

End Sub


Complete thread: