Multi SMPP connection

.NET library for SMPP protocol
Locked
chaoraksa
Posts: 55
Joined: Wed Sep 17, 2008 7:06 am

Multi SMPP connection

Post by chaoraksa » Tue Nov 18, 2014 7:16 am

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.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Multi SMPP connection

Post by alt » Tue Nov 18, 2014 2:40 pm

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.
xhide
Posts: 9
Joined: Wed Dec 02, 2015 3:02 pm

Re: Multi SMPP connection

Post by xhide » Wed Dec 02, 2015 3:07 pm

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.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Multi SMPP connection

Post by alt » Wed Dec 02, 2015 4:17 pm

Code: Select all

SmppClient client = sender as SmppClient;
Locked