github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/tcp/option-partial-order-connection-permitted.go (about) 1 /* For license and copyright information please see the LEGAL file in the code repository */ 2 3 package tcp 4 5 type optionPartialOrderConnectionPermitted []byte 6 7 func (o optionPartialOrderConnectionPermitted) Length() byte { return o[0] } 8 9 // func (o optionPartialOrderConnectionPermitted) PartialOrderConnectionPermitted() uint16 { 10 // return binary.BigEndian.Uint16(o[1:]) 11 // } 12 func (o optionPartialOrderConnectionPermitted) NextOption() []byte { return o[3:] } 13 14 func (o optionPartialOrderConnectionPermitted) Process(s *Socket) error { 15 return nil 16 }