|
-
Oct 6th, 2000, 05:05 AM
#1
Thread Starter
New Member
Hi!
I'm new at winsock and I'm trying to connect to a UNIX server that prompts for user login and password. How can I know if I have already connected and if the server is already prompting me to enter the user login and password?
Please help. Thanks.
Lem
-
Oct 6th, 2000, 08:38 AM
#2
Hyperactive Member
I don't know anything about UNIX servers, but I do know that if it's prompting for user name and password then you can use the DataArrival event to check, eg...
Private Sub Winsock1_DataArrival()
DIM DataRecieved 'In your case you'd declare it as a string.
Form1.Winsock1.GetData DataRecieved
End Sub
And to check if you're connected you'd use the Connect event
eg.. form1.caption = "Connected to ....."
I hope this has helped.
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
|