|
-
Oct 3rd, 2002, 01:11 PM
#1
Thread Starter
New Member
winsock question..
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.

-----------------------------
OS: RedHat Linux 8.0
RAM: 255
HDSPACE: 60 GiG
SC: Sound Blaster
VC: Hercules 3d 4000 xt
Average Uptime: 98 hrs
------------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|