func NewPacketTo(to Address, proto Protocol, payload []byte) Packet {
	p := NewDefaultPacket()
	p.Header.Destination = to
	p.Header.Protocol = proto
	p.Header.TotalLength = uint16(20 + len(payload))
	p.Payload = payload
	return p
}
// NewPacketTo constructs a new packet with a destination.
NewPacketTo constructs a new packet with a destination.
// NewPacketTo constructs a new packet with a destination .
func NewPacketTo(to Address, proto Protocol, payload []byte) Packet {
	p := NewDefaultPacket()
	p.Header.Destination = to
	p.Header.Protocol = proto
	p.Header.TotalLength = uint16(20 + len(payload))
	p.Payload = payload
	return p
}
func NewPacketTo ( to Address , proto Protocol , payload [ ] byte ) Packet { p := NewDefaultPacket ( ) p . Header . Destination = to p . Header . Protocol = proto p . Header . TotalLength = uint16 ( 20 + len ( payload ) ) p . Payload = payload return p }
NewPacketTo constructs a new packet with a destination.
NewPacketTo constructs a new packet with a destination .