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 »

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: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: Multi SMPP connection

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

Re: Multi SMPP connection

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

Re: Multi SMPP connection

Post by alt »

Code: Select all

SmppClient client = sender as SmppClient;
Locked