Connection Error Trapping
Bart Pietercil
bart.pietercil at gmail.com
Tue Feb 13 14:10:30 CST 2007
Hi List,
how would I intercept a bad server ip ?
This is the code I'm having now:
myConnection = New VConnection(Host,"$$$$","skjdjs",Port,10)---->
when given correct parameters works without problem
Try
myConnection.Open()----> stalled
Catch Err As VException
MsgBox(Err.Message)
Return False
end
if myConnection.IsConnected Then.......
The problem is when I feed the host variable an existing ipadres that
is not a Server addres, it just get a spinning beachball.
I would have thought I would receive a Timeout error after 10 seconds
but nothing is happening.....
Comments much appreciated
TIA
Bart Pietercil
More information about the Valentina
mailing list