.net socketed get example - WeOnlyDo Discussion board

.net socketed get example (wodHttpDLX)

by c, Tuesday, May 18, 2010, 03:47 (5304 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

Re: .net socketed get example

by wodDamir, Tuesday, May 18, 2010, 09:15 (5304 days ago) @ c

Hi,

I'm not sure what you mean by In VB6 it was easier to use arrays . However, I'm not really sure what you mean by get the data faster .

Why don't you try using Notifications interface, and it's Done method?

Also, you should set Blocking property in your current code in order to receive response.

regards,
Damba