How to check authenticate on SmppServer
How to check authenticate on SmppServer
How to check authenticate on SmppServer
Re: How to check authenticate on SmppServer
You need to use event
Code: Select all
void server_evClientBind(object sender, SmppServerClient client, Bind data)
{
if (data.SystemId == "test" && data.Password == "test")
{
data.Response.Status = CommandStatus.ESME_ROK;
}
else
{
data.Response.Status = CommandStatus.ESME_RBINDFAIL;
}
}