Back to product page
- Introduction
- License agreement
- Getting Started
- Objects
- Enumerations
- wodHttpDLX
- Methods
- Properties
- Authentication
- AutoRedirect
- BindIP
- Blocking
- CertErrors
- Certificate
- Compression
- Hostname
- HTTPversion
- IgnoreCertErrors
- KeepAlive
- LastError
- LastErrorText
- LocalCertBag
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- ProxyAuthentication
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- Request
- Response
- Secure
- Socket
- SSLCipherList
- State
- Timeout
- URL
- UseIPv6
- Version
- Events
- wodHttpNotify
- HttpCookie
- HttpCookies
- HttpHeader
- HttpHeaders
- HttpRequest
- HttpRequestFormPost
- HttpRequestFormUpload
- HttpResponse
- How to get support?
- Technical information
- Fast notifications interface
- Error list
About method
Connects to remote server.
Type
NoneSyntax
- Basic
object.Connect [Host], [Port]
The About(object,Host,Port) syntax has these parts:
The About(object,Host,Port) syntax has these parts:
object | An expression evaluating to an object of type wodHttpDLX. |
Host | Optional. A Variant value. Specifies name or IP address of the server. |
Port | Optional. A Variant value. Specifies port on the server. |
Remarks
Before executing the Connect method, you must first set the Hostname property, or provide hostname information to Host argument. The following sample will manually connect to WeOnlyDo's WEB server (code in VB):wodHttp1.Blocking = True
wodHttp1.Hostname = "http://www.weonlydo.com"
wodHttp1.Port = 80
wodHttp1.Connect
If wodHttp1.LastError <> 0 Then
MsgBox "Unsuccessful - Error:" & wodHttp1.LastError
End If