.net socketed get example (wodHttpDLX)
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
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