|
-
Feb 10th, 2000, 07:22 AM
#1
Thread Starter
Addicted Member
well i want it so when they connect with winsock and it it cant connect it well say something like sorry unable to connect to this port and if it does let them connected then it well say like this port is open how can i do that please help
-
Feb 10th, 2000, 11:00 AM
#2
Member
try something like this:
Private Sub Winsock1_Connect()
MsgBox "You are connected to port " & Winsock1.RemotePort
End Sub
Private Sub Winsock1_Error(ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)
MsgBox "Could not connect to port " & Winsock1.RemotePort
End Sub
------------------
-FirePoweR-
[email protected]
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
|