Page 1 of 1

Multi SMPP connection

Posted: Tue Nov 18, 2014 7:16 am
by chaoraksa
Dear all,
I have a question related to multiple smpp connection. example i have 3 smpp connection.
Can i use this lib to connect to 3 smpp conection at same application

Thank you.

Re: Multi SMPP connection

Posted: Tue Nov 18, 2014 2:40 pm
by alt
Hallo chaoraksa,

Yes, you need to create and use several SmppClient instances.
You can use same event handler methods for all instances, but as reference to SmppClient you need to take sender parameter in each method.

Re: Multi SMPP connection

Posted: Wed Dec 02, 2015 3:07 pm
by xhide
Hi,

Can you give some example on how to use the sender as reference?

I am trying to create multiple instance of the client but having trouble identifying the clients.

Thanks.

Re: Multi SMPP connection

Posted: Wed Dec 02, 2015 4:17 pm
by alt

Code: Select all

SmppClient client = sender as SmppClient;