thread for sending messages from a database

2002-05-23 Thread felly
Hi, I use the version of kannel 1.1.6. I am trying to make a thread that must do : - querry a database - send new messages (stored in the database) In smsc_emi2.c I write a function that querries the database called db_sender. In smsc_emi2_create function I have started the thread rig

Re: thread for sending messages from a database

2002-05-23 Thread Andreas Fink
>Hi, >I use the version of kannel 1.1.6. >I am trying to make a thread that must do : >- querry a database >- send new messages (stored in the database) > >In smsc_emi2.c I write a function that querries the database called db_sender. >In smsc_emi2_create function I have started the thread right a

Re: thread for sending messages from a database

2002-05-25 Thread Stipe Tolj
Andreas Fink wrote: > > I think your whole approach is wrong. You should do this kind of > thing in a separate application. You then can link this separate > application to gwlib and use gwlib's HTTP library function to deliver > your messages from the database on to kannel. This will make your >

Re: thread for sending messages from a database

2002-05-25 Thread felly
Andreas Fink wrote: > > I think your whole approach is wrong. You should do this kind of > thing in a separate application. You then can link this separate > application to gwlib and use gwlib's HTTP library function to deliver > your messages from the database on to kannel. This will make your

RE: thread for sending messages from a database

2002-05-26 Thread Oded Arbel
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Andreas Fink wrote: > > > > I think your whole approach is wrong. You should do this kind of > > thing in a separate application. You then can link this separate > > application to gwlib and use gwlib's HTTP li