dial.go 318 B

123456789101112131415
  1. //go:build !linux
  2. // +build !linux
  3. package main
  4. import "syscall"
  5. // dialerControl does nothing.
  6. //
  7. // On Linux, this function would set the IP_BIND_ADDRESS_NO_PORT socket option
  8. // in preparation for a future bind-before-connect.
  9. func dialerControl(network, address string, c syscall.RawConn) error {
  10. return nil
  11. }