hi i would like to know if there is any code to show that winsock is connected... i tried this as an example..
Private Sub cmdwinsck_click()
winsck.connect ("ip, port")
If winsck.state = connected then
Msgbox "Connected"
else
Msgbox "Didn't connect!"
End If
End Sub
what is meant to happen is when winsock is connected a message box pops up saying you are connected ...
am i correct in this code or totally wrong??
please help.



Reply With Quote