func (s *Sock) HeartbeatIvl() int {
	val := C.zsock_heartbeat_ivl(unsafe.Pointer(s.zsockT))
	return int(val)
}
HeartbeatIvl returns the current value of the socket's heartbeat_ivl option
package goczmq
import "C"
import (
	"unsafe"
)
func (s *Sock) SetHeartbeatIvl(val int) {
	C.zsock_set_heartbeat_ivl(unsafe.Pointer(s.zsockT), C.int(val))
}