Beginning to write a client

Mark Doliner mark at kingant.net
Fri May 18 12:03:04 EDT 2007


Quite possibly.  Are you getting an error message or something?  If so, could
we see it?

-Mark

On Fri, 18 May 2007 09:02:39 -0400, Greg Chagnon wrote
> OK, so I have nullclient.c and defines.h, but when I compile I seem 
> to be missing some libs.  I have libpuple, libpurple-devel, libtk, 
> libtcl, and glib-devel installed.  Anything else that I'm missing?
> 
> On 5/17/07, Sadrul Habib Chowdhury <imadil at gmail.com> wrote:
> >
> > * Greg Chagnon had this to say on [17 May 2007, 16:28:18 -0400]:
> > > Hi All,
> > > I'm new to this list and libpurple but wanted to ask a rather open ended
> > > question.  I'd like to write a very basic command line IM client.  The
> > only
> > > functionality it would have to have is to connect to a server, send an
> > IM,
> > > and be able to receive an IM and verify its message against what was
> > sent.
> > > At a later date I'd add in conferencing and file transfer.  So I'm
> > asking
> > > for anything that could get me started on writing a client in C++.  I
> > tend
> > > to work best by seeing examples.
> > >
> >
> > There is a nullclient in libpurple/example/ that allows you to create
> > and connect to one IM service of your choice and receive messages. It
> > was meant to be a really simple client, and adding the ability to send
> > messages would've made it rather complicated for a 'Hello world' client.
> > (
> >
http://developer.pidgin.im/viewmtn/revision/file/e39b5117f8df79ccfe2f383c3b0bbe8f33566991/libpurple/example/nullclient.c
> > )
> >
> > There are some development FAQs for client/plugin authors in
> > http://d.pidgin.im/wiki/Development%20FAQ, which you may find useful.
> > You should also look at http://d.pidgin.im/wiki/WhatIsLibpurple. We will
> > be glad to answer any farther questions you may have.
> >
> > Sadrul
> >
> > > The reasons I'm doing this is, first, to test a part of a network
> > appliance
> > > in an automated fashion.  And second, I'm seeing a lot of "How do I get
> > > started" messages being posted.  So I'd also like to document my
> > experience
> > > and the steps that I take to write this client so that others can
> > benefit
> > > from it.
> > >
> > > Any and all information that you all could point me to would be *very*
> > > helpful!
> > >
> > > Thanks,
> > > g




More information about the Devel mailing list