Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ffi-rzmq-core

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffi-rzmq-core

  • 1.0.7
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ffi-rzmq-core

The intention of this gem is to provide a very basic FFI wrapper around the Zeromq libzmq C API. This gem isn't intended to be used directly by any Ruby programmer looking to write Zeromq code. They should use a higher-level gem like ffi-rzmq which pulls in this gem for its FFI definitions.

There have been complaints that the ffi-rzmq gem doesn't provide the correct or best Ruby idioms, so I am hoping this encourages other library writers to create their own. Rather than duplicate the FFI wrapping code, they can just pull in this gem and build a more idiomatic library around the basic definitions.

As of zeromq 4.2.x, this library does not yet support the zmq_atomic_counter_* functions or many of the other newly exposed functions. Pull requests encouraged!

See [ffi-rzmq]

Development

As this library supports both ZeroMQ 3.2+ and ZeroMQ 4.0+ it's common to have to swap out which version of ZeroMQ is installed to test out various features (say, 4.0 for security).

With Homebrew on Mac OS X this is easy enough. The main ZeroMQ formula installs 4.0. To get version 3.2 pull in the homebrew-versions using:

brew tap homebrew/versions

and install version 3.2:

brew install zeromq32

FAQs

Package last updated on 05 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc