Fix ArtPollReply to send to broadcast:6454 with proper MAC detection

This commit is contained in:
Ian Gulliver
2026-01-27 22:00:46 -08:00
parent e48a7de384
commit ae0b896883
5 changed files with 69 additions and 32 deletions

View File

@@ -55,13 +55,6 @@ func (s *Sender) SendPoll(addr *net.UDPAddr) error {
return err
}
// SendPollReply sends an ArtPollReply to a specific address
func (s *Sender) SendPollReply(addr *net.UDPAddr, localIP [4]byte, shortName, longName string, universes []Universe, isInput bool) error {
pkt := BuildPollReplyPacket(localIP, shortName, longName, universes, isInput)
_, err := s.conn.WriteToUDP(pkt, addr)
return err
}
// Close closes the sender
func (s *Sender) Close() error {
return s.conn.Close()