goframe icon indicating copy to clipboard operation
goframe copied to clipboard

send/receive framed data via TCP or QUIC

Results 3 goframe issues
Sort by recently updated
recently updated
newest added

我把example中的例子改成下面这样为啥就跑不通了呢?希望鸟哥解惑下 ``` encoderConfig := goframe.EncoderConfig{ ByteOrder: binary.BigEndian, LengthFieldLength: 2, LengthAdjustment: -2, LengthIncludesLengthFieldLength: false, } decoderConfig := goframe.DecoderConfig{ ByteOrder: binary.BigEndian, LengthFieldOffset: 0, LengthFieldLength: 2, LengthAdjustment: -2, InitialBytesToStrip: 0, } ```

The integration server I work with uses ascii message length, so I introduced a new field called `format` and a set of constants. Note that if `format` is not specified,...

use the function's internal `conn` instead of the external `c`