// SetZapDomain sets the zap_domain option for the socket func (s *Sock) SetZapDomain(val string) { C.zsock_set_zap_domain(unsafe.Pointer(s.zsockT), C.CString(val)) }
// SetZapDomain sets the zap_domain option for the socket func (s *Sock) SetZapDomain(val string) { cVal := C.CString(val) defer C.free(unsafe.Pointer(cVal)) C.zsock_set_zap_domain(unsafe.Pointer(s.zsockT), cVal) }