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