Bind To Multiple servers in one app

.NET library for SMPP protocol
Locked
Rossi1989
Posts: 6
Joined: Thu Jun 13, 2013 10:43 am

Bind To Multiple servers in one app

Post by Rossi1989 » Thu Jun 13, 2013 10:47 am

Hi,

Could you please advise how one can connect, bind and enquirerlink on multiple servers in one application?

Please I need your help.
hasha
Posts: 6
Joined: Sun May 26, 2013 10:00 am

Re: Bind To Multiple servers in one app

Post by hasha » Fri Jun 21, 2013 7:38 am

Hi Rosi,
My understanding is that you have one ESME application and you want this to connect to multiple SMSC servers.
I am not sure what kind of help detail you are looking for. I am new to this and had a similar challenge. I will just share, in a general way, how I implemented it on my part, hoping that it may lead you to a better solution.

1. I created a class that implements all the functionality I need eg connecting, binding, inquiring link, sending messages, receiving etc.
2. I then instantiate the class a number of times equivalent to the number of SMSC server connections I want to make. Of course each class is instantiated with connection parameters required for the different SMSC servers. This way I am able to connect to any number of servers.

I hope that this will help and that someone may give a better solutions

Hasha
Locked