CSocketMaster: ResolveIfHostnameSync

ResolveIfHostnameSync

Resolves a host (if necessary) in synchronous way If succeeds returns a 32 bits long IP, strHostIP = readable IP string and lngErrorCode = 0 If fails returns vbNull, strHostIP = vbNullString and lngErrorCode <> 0



 Private Function ResolveIfHostnameSync(
	  ByVal Host As String,
	  ByRef strHostIP As String,
	  ByRef lngErrorCode As Long ) As Long

Parameters

Host
[ByVal] String. Host to resolve
strHostIP
[ByRef] String.
lngErrorCode
[ByRef] Long.

Return Values

Long - 

Remarks

See Also

Project pop2owa Overview Class CSocketMaster Overview CSocketMaster Properties CSocketMaster Methods RecvDataToBuffer SendBufferedData