func (header *Header) TCPAddrs() (sourceAddr, destAddr *net.TCPAddr, ok bool) {
	if !header.TransportProtocol.IsStream() {
		return nil, nil, false
	}
	sourceAddr, sourceOK := header.SourceAddr.(*net.TCPAddr)
	destAddr, destOK := header.DestinationAddr.(*net.TCPAddr)
	return sourceAddr, destAddr, sourceOK && destOK
}
// TCPAddrs returns the tcp addresses for the proxy protocol header.
TCPAddrs returns the tcp addresses for the proxy protocol header.
// TCPAddrs returns the tcp addresses for the proxy protocol header .
func (header *Header) TCPAddrs() (sourceAddr, destAddr *net.TCPAddr, ok bool) {
	if !header.TransportProtocol.IsStream() {
		return nil, nil, false
	}
	sourceAddr, sourceOK := header.SourceAddr.(*net.TCPAddr)
	destAddr, destOK := header.DestinationAddr.(*net.TCPAddr)
	return sourceAddr, destAddr, sourceOK && destOK
}
func ( header * Header ) TCPAddrs ( ) ( sourceAddr , destAddr * net . TCPAddr , ok bool ) { if ! header . TransportProtocol . IsStream ( ) { return nil , nil , false } sourceAddr , sourceOK := header . SourceAddr . ( * net . TCPAddr ) destAddr , destOK := header . DestinationAddr . ( * net . TCPAddr ) return sourceAddr , destAddr , sourceOK && destOK }
TCPAddrs returns the tcp addresses for the proxy protocol header.
TCPAddrs returns the tcp addresses for the proxy protocol header .