yanic/respond/respond.go

23 lines
357 B
Go
Raw Normal View History

2016-03-09 02:49:27 +00:00
package respond
import (
"net"
)
const (
// default multicast group used by announced
multiCastGroup string = "ff02:0:0:0:0:0:2:1001"
// default udp port used by announced
port string = "1001"
// maximum receivable size
maxDataGramSize int = 8192
)
//Response of the respond request
type Response struct {
Address net.UDPAddr
Raw []byte
}