[Mysql-cocoa-users] Re: An Important Question
Brought to you by:
sergecohen
From: Serge C. <ser...@us...> - 2004-08-22 20:51:50
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Dave;=0D =0D Indeed I've never seen the problem (because I've never tried putting an =0D= invalid host name).=0D The fact is that in the way I've implemented the connection, the =0D waiting does not occure in my code, but rather in the client library of =0D= MySQL.=0D =0D So I don't know how I can (easily) set a time out.=0D If anyone has some kind of idea on how that can be implemented, please =0D= send it. In short I'm just forwaring the question.=0D =0D Serge.=0D =0D Le 22 ao=FBt 04, =E0 14:42, David Borton a =E9crit :=0D =0D > Mr. Serge Cohen-=0D >=0D > My name is David Borton and I have been working with your framework =0D= > for sometime. I appreciate all of the work that you have done for the =0D= > MySQL and Cocoa cause. I do have one question, however.=0D >=0D > When I initialize a connection with initToHost:.... and I put in a =0D= > bad host address, the cursor spins and I see no way out. The program =0D= > I have written freezes as I see that Cocoa MySQL Display does as well. = =0D > Did you make any error checking mechanism for the MCPConnection =0D > object? The only way that I can see an out is if I start making the =0D= > connection through a new thread, then kill the thread after a certain =0D= > amount of time, but that is dangerous. If you know of anyway around =0D= > this, the help would be much appreciated.=0D >=0D > Again, thank you for working so hard on this framework.=0D >=0D > Dave Borton=0D > Washington University in St. Louis=0D >=0D >=0D >=0D *******************************************=0D Serge Cohen=0D =0D GPG Key ID: 9CBB58FB=0D *******************************************=0D =0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFBKQda5EPeG5y7WPsRAm+SAKCM+7NKtKILY6mj5cK6MwVmSZ5IOACeLfMP 8s2qJH7aqjfDnTcDhuOVMtE=3D =3DDUr1 -----END PGP SIGNATURE----- |