Popularity
8.1
Growing
Activity
0.0
Stable
46
6
17
Programming language: Crystal
License: MIT License
Tags:
Low Level Bindings
zeromq-crystal alternatives and similar shards
Based on the "Low level bindings" category.
Alternatively, view zeromq-crystal alternatives based on common mentions on social networks and blogs.
-
magickwand-crystal
Crystal C bindings for MagickWand library -
termbox-crystal
Bindings, wrapper, and utilities for termbox (terminal interface library) in Crystal -
posix
POSIX/C bindings generator for the Crystal programming language -
java.cr
Java Native Interface (JNI) bindings (and generator) for Crystal -
wkhtmltopdf-crystal
Crystal C bindings and wrapper for libwkhtmltox library -
serialport.cr
Crystal bindings for libserialport: cross-platform library for accessing serial ports. -
crystal-liblmdb
Crystal language bindings for the Symas LMDB database -
crystal-libpcap
Crystal bindings for libpcap - experimental
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Promo
getonboard.dev
Do you think we are missing an alternative of zeromq-crystal or a related project?
README
zeromq
Bindings for ZeroMQ (http://zero.mq) Ported from (https://github.com/chuckremes/ffi-rzmq-core) Thank you @chuckremes
Installation
Add this to your application's shard.yml
:
dependencies:
zeromq:
github: crystal-community/zeromq-crystal
Usage
require "zeromq"
# Simple server
context = ZMQ::Context.new
server = context.socket(ZMQ::REP)
server.bind("tcp://127.0.0.1:5555")
loop do
puts server.receive_string
server.send_string("Got it")
end
# Simple client
context = ZMQ::Context.new
client = context.socket(ZMQ::REQ)
client.connect("tcp://127.0.0.1:5555")
client.send_string("Fetch")
puts client.receive_string
TODO
- [ ] Add more tests
- [ ] Add more examples
Contributing
- Fork it ( https://github.com/benoist/zeromq-crystal/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- Benoist Benoist Claassen - creator, maintainer
- Hristo Kochev Hristo Kochev