// SetDeadline implements the Conn SetDeadline method.
SetDeadline implements the Conn SetDeadline method.
// SetDeadline implements the Conn SetDeadline method .
func (c *IPConn) SetDeadline(t time.Time) error {
	if !c.ok() {
		return syscall.EINVAL
	}
	return setDeadline(c.fd, t)
}
func ( c * IPConn ) SetDeadline ( t time . Time ) error { if ! c . ok ( ) { return syscall . EINVAL } return setDeadline ( c . fd , t ) }
SetDeadline implements the Conn SetDeadline method.
SetDeadline implements the Conn SetDeadline method .