func (s *Sock) SetHeartbeatTtl(val int) {
	C.zsock_set_heartbeat_ttl(unsafe.Pointer(s.zsockT), C.int(val))
}
SetHeartbeatTtl sets the heartbeat_ttl option for the socket
package goczmq
import "C"
import (
	"unsafe"
)
func (s *Sock) SetHeartbeatIvl(val int) {
	C.zsock_set_heartbeat_ivl(unsafe.Pointer(s.zsockT), C.int(val))
}
func (s *Sock) HeartbeatIvl() int {
	val := C.zsock_heartbeat_ivl(unsafe.Pointer(s.zsockT))
	return int(val)
}