hi,
of course you can detect the errors.
you have a property called state, you can use it like :
if winsock.state=0 then
msgbox "connection is closed"
end if.
diffent codes are
0-close
1-open
2-listening
3-connection pending
4-resolving host
5-Host-resolved
6-connecting
7-connected...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.