Client status is not Bound - what is the reason?
Posted: Tue Jun 07, 2016 8:53 pm
Hello!
I have exact code as in example:
but for some reason, after client.Bind, client.Status is not Bound. How do I know the reason why it is not bound? Can I get error message from server or so?
Thank you.
I have exact code as in example:
Code: Select all
SmppClient client = new SmppClient();
client.Connect("smpp.server.com", 7777);
if (client.Status == ConnectionStatus.Open)
{
Logger.Write("Connected to SMPP server");
client.Bind("username", "password");
if (client.Status == ConnectionStatus.Bound)
{
Logger.Write("Bound with SMPP server");
}
}
Thank you.