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
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,
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,
>
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