Re: using imclient

2005-03-21 Thread Patrick Radtke
I figured out how to determine the OK,BAD tagged response. I modified the end_command from 'man imclient' static void end_command (struct imclient *connection, void* rock, struct imclient_reply *inmsg) { cout << "in end_command " << endl; cout << "\tKeyword: " << inms

Re: using imclient

2005-03-21 Thread Patrick Radtke
On Mar 17, 2005, at 1:21 PM, Patrick Welche wrote: On Wed, Mar 16, 2005 at 04:04:48PM -0500, Patrick Radtke wrote: I'll add a little code sample // server returns NO on an error imclient_addcallback(imclient, "NO", CALLBACK_NOLITERAL, callback_error,

Re: using imclient

2005-03-17 Thread Patrick Welche
On Wed, Mar 16, 2005 at 04:04:48PM -0500, Patrick Radtke wrote: > I'll add a little code sample > > // server returns NO on an error > imclient_addcallback(imclient, "NO", > CALLBACK_NOLITERAL, > callback_error, > &error_string, >

Re: using imclient

2005-03-16 Thread Patrick Radtke
I'll add a little code sample // server returns NO on an error imclient_addcallback(imclient, "NO", CALLBACK_NOLITERAL, callback_error, &error_string, NULL); nc =1; imclient_send(imclient,end_command,(voi