WhoIs Protocol


CLASS aprWhoIs

 

Description
The WhoIs Class enables the application to request information from a server about a specific domain or user. This Class would be most commonly used to query the WhoIs server at a Registrar such as rs.internic.net to obtain information about a specific Internet domain name or a contact for that domain. 

 

 

Variables

 

:cErr

Holds a description for the Last error code

 

:Debug

Enable/Disable extended Debug notifications.

 

:DebugTrace

Enable/Disable Callstack List to be included in Error Messages (:Debug)

 

:LastSearch

Last Resource Searched For

 

:LastWhoIsServer

Last WhoIs Server connected to.

 

:nErr

Holds the last error code

 

:Session

Holds the Initial Session handle value (used as the Default Session handle)

 

Methods

 

:New()

Creates a new instance of the aprWhoIs Class

 

:Destroy()

Releases the system resources assigned by the :New() Method.

 

 

:Cancel()

Cancel the current blocking operation

 

:Connect()

Connect to the specified server

 

:Disconnect()

Disconnect from the current server

 

:GetSocket()

Return the current session socket

 

:IsBlocking()

Determine if the client is blocked, waiting for information

 

:Read()

Read data returned by the remote server

 

:Search()

Search for the specified record

 

:SetLastError()

Set the last error code

 

:Timeout()

Get/Set the number of seconds until an operation times out

 

:Trace()

Enable/Disable logging of socket-level calls to the trace log