That being said, there is not reason you'd have to do threading for a transport. You just need to be able to associate each ICQ connection with a Jabber connection.
And you need to setup your software to be able to wait for input from either the ICQ connections or the Jabber server. Basically, threads are used to allow you to schedule events and such, but just because they aren't available doesn't mean that you won't be able to write a transport. That doesn't mean its not going to be hard, you'll probably just run into issues more important than whether you can do threading. Ben On Thu, 8 Nov 2001, Richard Dobson wrote: > I dont think you can do threading in Perl, not the last time I was > programming in it a year ago anyway. > > > On Thu, Nov 08, 2001 at 06:42:51PM +0800, I wrote: > > I find that the Jabber part is really easy! Just trial and error with > > gabber to see what is sent to the Perl client, then look it up in > > jabber-programmers.pdf. > > > > Now the hard part: > > I find that threads are used in the transport code (I looked at AIM and > ICQ) > > and I would assume that they are needed since a single transport pretends > > to be the IM user for each of the clients. > > > > Any suggestions on how to implement this in Perl? I have no experience > > in threads in any language... :( _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev