-
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
-
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.