Little-Endian Active Mode Tcp ?

Sean Hinde sean.hinde@REDACTED
Fri May 30 01:05:51 CEST 2003

On Thursday, May 29, 2003, at 09:39 AM, <peter@REDACTED> wrote:

> Yeah, I have tried it out too, but I am having another problem.
> The Erlang 4 byte packet header is a count on the REMAINING part
> of the package. In the SMPP protocol (SMS stuff), the 4 byte length
> value should be the length of the REMAINING part + the 4 byte header
> size. (the value defined in SMPP is thus differing by 4 from the
> value in Erlang/OTP).
> Is there any way to change the counting in the gen_tcp module?

Sadly no. Clearly then the problem is that the SMPP design is broken ;-)


More information about the erlang-questions mailing list