Hi all, is it possible to send from server to client a handle to MySQL 
connection.

for example then i'm trying:

server:
Code:
    ...
    MYSQL mysql;
    mysql_init(&mysql);
    mysql_real_connect(&mysql,....);
    ...
    send(socket,&mysql, sizeof(MYSQL),0);
-----------------
client:
Code:
   ...
   MYSQL mysql;
   recv(socket,&mysql,sizeof(MYSQL),0);
   ...
   mysql_query(&mysql,...);
   ...


my client has terminated with segfault then query the MySQL server with this 
mysql connection

Thanks, With best regards,

Gorohov Dmitry 
----------------------------------------------
Contact information:
MSN: [EMAIL PROTECTED]
AOL: chrislee943
ICQ: 284144732
phone: +(10) 375 29 5680605
----------------------------------------------


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to