At 03:52 3-6-2002, Mark Matthews shared with all of us:
>>So - indeed - I'm probably barking up the wrong tree, by looking at >>mysql_ping(), >>but I basically want to mimmick the behavior, so the there's no >>connection error >>for the webserver involved. >> >>See it as Net::SMTP, using a simple HELO - RSET - QUIT. > > >If you want to see a simpler version of the MySQL protocol in source form, >you might want to check out the MM.MySQL JDBC driver, where all of the >code you would need to see would be in MysqlIO.java. See >http://mmmysql.sourceforge.net/. It is a 100% pure Java version of the >libmysql network code, which sounds like the bit you might trying to >duplicate from PHP. Set aside the usual Java code overhead :-), this actually is what I was looking for! I think I can port that. Will have a go at that, later tonight. Best regards, Melvyn Sopacua WebMaster IDG.nl _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ If it applies, where it applies - this email is a personal contribution and does not reflect the views of my employer IDG.nl. \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php