control_windows.go 379 B

12345678910111213141516
  1. // Copyright 2012 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package ipv4
  5. import (
  6. "syscall"
  7. "golang.org/x/net/internal/socket"
  8. )
  9. func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error {
  10. // TODO(mikio): implement this
  11. return syscall.EWINDOWS
  12. }