2014-07-10 05:07:23 +10:00
|
|
|
// Copyright 2011 Miek Gieben. All rights reserved.
|
2014-07-08 22:20:10 +10:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2014-07-08 01:16:42 +10:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package dns
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net"
|
|
|
|
)
|
|
|
|
|
2014-07-10 05:07:23 +10:00
|
|
|
// These actually do nothing. See udp_linux.go for an example of how to implement this.
|
|
|
|
|
2014-07-10 06:02:21 +10:00
|
|
|
func setUDPSocketOptions4(conn *net.UDPConn) error { return nil }
|
|
|
|
func setUDPSocketOptions6(conn *net.UDPConn) error { return nil }
|