Search found 3 matches

by juancri
Tue Jun 21, 2011 12:33 am
Forum: Inetlab.SMPP v1.0
Topic: NeedEnquireLink on server
Replies: 1
Views: 11283

NeedEnquireLink on server

Hi:

I created a small server using this code:

var server = new SmppServer ();
server.evClientConnected += ((sender, client) =>
{
client.EnquireInterval = 30;
client.NeedEnquireLink = true;
});
server.StartAsync (9876);

The problem is that the enquire link command is not sent. This works if ...
by juancri
Thu Mar 17, 2011 3:59 am
Forum: Inetlab.SMPP v1.0
Topic: Password length
Replies: 1
Views: 9420

Re: Password length

Oh, now I see this note in the specs (page 36):

In the case of all C-Octet String formats, the maximum field size is shown as a
combination of string length and the NULL terminator, i.e., an 8-character C-Octet
String is encoded in 9 octets when the NULL terminator is included.

So I think the ...
by juancri
Wed Mar 16, 2011 4:09 pm
Forum: Inetlab.SMPP v1.0
Topic: Password length
Replies: 1
Views: 9420

Password length

Hi:

I have been using the library and there's a problem in the file src/CS/PDU/Bind.cs

This:
if(s.Length > 8)
{
throw new System.ArgumentOutOfRangeException("Password","Length too long");
}

Should be replaced with with:
if(s.Length > 9)
{
throw new System.ArgumentOutOfRangeException ...