summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/udp_other.go
blob: 488a282b26af835514f3213d5745b84a0bb42fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +build !linux appengine

package dns

import (
	"net"
)

// These do nothing. See udp_linux.go for an example of how to implement this.

// We tried to adhire to some kind of naming scheme.
func setUDPSocketOptions(conn *net.UDPConn) error                  { return nil }
func setUDPSocketOptions4(conn *net.UDPConn) error                 { return nil }
func setUDPSocketOptions6(conn *net.UDPConn) error                 { return nil }
func getUDPSocketOptions6Only(conn *net.UDPConn) (bool, error)     { return false, nil }