need to send msg from a script to YMsg, AIM

nick <[email protected]> Sun, 28 Dec 2003 12:17:31 -0600
Newsgroups gmane.comp.gnome.gaim.devel,gmane.network.everybuddy.user
Message-ID <[email protected]>
Hi,

I am trying to find a way to send a message to an yahoo messenger user, 
but from within a script. Ideally, from a Perl script, but could also 
handle some C programming (although i do not have a compiler on windows).

I have downloaded GAIM sources and I am trying to find where are Yahoo 
modules located, what files do I need to peek into ? It is written in C, 
but I do not have C compiler ? Where can I get a windows xp compiler ? 
Do you know of any small C++ programming envioronments, something small, 
(less than 20-30MB), that I could use/download ? How about the C++ help 
files ? Where can I download those ?

I am alos thinking to download the other open source multi messenger, 
everybuddy, but again, I do not know C that well, and the main problem 
is that I will be needing some guidence here.... Do you know of any tcl 
modules available that I could use to solve my problem ?

Ideally, I would love to 'translate' the yahoo/aim messenger modules 
from C++ into perl. The main problem (besides not having time) is that I 
lack any serious socket and low tcp/ip level skills. Do you guys know of 
any resources, like tutorials, documentation that can help me get the 
knowledge needed to understand those Yahoo/msn modules and be able to 
translate them into Perl ?

If any of you have some time on their hands, could you write/translate 
the yahoo/msn modules from C++ into perl ? Or at least, can anyone help 
me understand what files do I need and how do I call/use the 
functions/modules ?

I presume it has to be something like this.

$connect_failed=&Yahoo_login ($user, $password);
if ($connect_failed !=0)
{
print " Login Succeeded\n Sending mesg to $to, $msg\n";
$sent_msg=&Yahoo_msg_send($to,$msg);
print "Msg sent successfully\n\n" if $sent_msg==1;
}



What can I say, I would appreciate any help...

Nick.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click