modSocketMaster: ResolveHost

ResolveHost

When a socket needs to resolve a hostname in asynchronous way it calls this function. If it has success it returns a nonzero number that represents the async task handle and register this number in the TableA list.



 Public Function ResolveHost(
	  ByVal strHost As String,
	  ByVal lngHOSTENBuf As Long,
	  ByVal lngObjectPointer As Long ) As Long

Parameters

strHost
[ByVal] String. Host to resolve
lngHOSTENBuf
[ByVal] Long.
lngObjectPointer
[ByVal] Long.

Return Values

Long -  Returns 0 if it fails.

Remarks

See Also

Project pop2owa Overview Class modSocketMaster Overview modSocketMaster Properties modSocketMaster Methods RegisterSocket StringFromPointer