Scott Fletcher wrote: > How do I send the username and password to the port and recieve a > response saying hte username & password is accepted or fail???
Sockets in and of themselves do not send/accept/receive/reject username/passwords. Once the socket is open, you send the right stuff and get back the right stuff. Exactly *HOW* you send the right stuff and get back the right stuff depends on the protocol behind the socket. Is it FTP, HTTP, MySQL, SQL Server, IMAP, or what? Every one of them has a different protocol, though they are all pretty similar in style. You send something like "USER: $username" and then "PASS: $password" and then you get back a response. If the socket simply isn't opening it's not about username/password -- It's that the server in question isn't running a demon on that port, or it's refusing your connection based on your IP address and/or domain name records or lack thereof. -- Like music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]