[prev in list] [next in list] [prev in thread] [next in thread]
List: pidgin-devel
Subject: help with connecting to server for new plugin development
From: "tinytown.au () gmail ! com" <tinytown ! au () gmail ! com>
Date: 2008-08-21 12:47:06
Message-ID: c26ec1e0-0f96-4802-8be1-bba8b7509885 () l33g2000pri ! googlegroups ! com
[Download RAW message or body]
Hi,
I’m trying to learn how to create a libpurple plugin for a chat/
messanger clinet used at my work.
I’ve gone through the Pidgin documentation and help files on how to
create C plug-ins .
I’ve had success in building the plugins as per the instructions on
the tutorials o the pidgin site. And have managed to build and
compile ‘protocol’ plugins that seem to load up ok in pidgin and finch
using the libpurple frame work on linux.
However I seem to have difficulty in working out/understanding how to
connect/communicate to another server.
I’ve looked at the source files of some of the other prtocols like
yahoo and sip (simple) but they seem already much more than what I
need for now.
Could someone help explain how I would connect to a server and issue
a command.
Possibly, how would I modify the example code ( pidgin-2.5.0/libpurple/
example/nullclient.c ) or ( pidgin-2.5.0/libpurple/protocols/null/
nullprpl.c ) to connect to a server running on my pc (localhost) port
3789.
Admittedly I’m pretty new to C programming, so I was hoping for simple
guides or examples.
Thanks
Tony
_______________________________________________
Devel mailing list
Devel@pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic