You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nnet/interfaces/i_packet.go

8 lines
199 B
Go

2 years ago
package interfaces
// IPacket 面向TCP连接中的数据流网络数据包抽象接口
type IPacket interface {
// HeaderLength TCP数据帧头部长度固定长度值
HeaderLength() int
}