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