Hello devels!
I'm trying to learn myself some C++, and i thought by let me give the recieve 
events in RMS plugin a shot. Since some users want to build a wabinterface based 
on this. (including me).

Okay, i stole a lot of code from the console and autoreply plugins, and it looks 
like it should work (so far), with the only problem right now, with i cant figur 
out.

As a user connect with the plugin through the socket, comands are send to is, 
and reply's are pushed back. Now the "reply" should pop in without recieve a 
command to do it. get it? It's like the console plugin suddenly notify you of 
the fact that one messge has recieved, by display 1 Message in the status bar.
This message appeared without let the user do anything, but becouse the daemon 
told the plugin, hey a message came in! This is what I want, pipe a message to 
the opened socket(s) to tell an event was recieved, and pending to be read.

Now i've made that (hopefully) clear, how do I do that? The normal output is:
fprintf(fs, "message", errorcode); But this couses gcc to notify me that 'fs' is 
undeclared, a fact that is quite logical couse there is no socket connected to 
that 'fs'.

Okay, you must feel it comming right at you... Where do I find an (optional) 
writeable output, and/or something to check if it exists before write data to it?

And could you plz speak a bit like a simple minded humanoid can understand it?
Couse you're all quite technical etc, and i'm not (yet).

And allso, i know its a bit off topic right here, but i wouldn't know another 
place to ask those things...

Anyhow, Really thanks in advance a lot,
Yours faithfully, Arjen Heidinga.


_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to