Cannot Bind more than one connection

.NET library for SMPP protocol
Locked
mubarak
Posts: 13
Joined: Sat Aug 11, 2012 10:04 am
Contact:

Cannot Bind more than one connection

Post by mubarak » Sat Apr 06, 2013 11:46 am

Dear Alex,

One of SMSC provider gives me a SMPP connection and it can be bind one connection per time. but i had some other gateway's like HTTP, Mail2SMS.

So, when the customer send through HTTP or mail2SMS from thier side. and i received thier messages and checking the prefix gateway to submit the desired route.

In this case, i cannot bind one more connection. when i was submitting, submit_sm_resp returns with SMPPCLIENT_NOCONN

please advise, i need to resolved this issue soon as possible.

Thanks
Mubarak
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Cannot Bind more than one connection

Post by alt » Sat Apr 13, 2013 6:55 pm

Dear Mubarak,

I think you have only one way out. You need to write application that will keep this one connection with SMSC and will take new messages from database.
On the other side your HTTP server will put these new messages to database.
Locked