{"id":15374204,"url":"https://github.com/moteus/lua-lzmq-zmq","last_synced_at":"2025-07-27T03:33:42.127Z","repository":{"id":147045589,"uuid":"97209985","full_name":"moteus/lua-lzmq-zmq","owner":"moteus","description":"Wrapper around lzmq library to be compatiable with lua-zmq library","archived":false,"fork":false,"pushed_at":"2017-09-13T07:03:20.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T21:52:01.737Z","etag":null,"topics":["lua","zeromq","zmq"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moteus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-14T08:10:51.000Z","updated_at":"2018-04-24T01:33:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4beaeff-c029-4733-952d-01451a76cf80","html_url":"https://github.com/moteus/lua-lzmq-zmq","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"28e50026fccf9158ab0007b7b02b19741e95f1d3"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/moteus/lua-lzmq-zmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lzmq-zmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lzmq-zmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lzmq-zmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lzmq-zmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moteus","download_url":"https://codeload.github.com/moteus/lua-lzmq-zmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moteus%2Flua-lzmq-zmq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267294180,"owners_count":24065343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","zeromq","zmq"],"created_at":"2024-10-01T13:57:41.846Z","updated_at":"2025-07-27T03:33:42.053Z","avatar_url":"https://github.com/moteus.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-lzmq-zmq\n[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)\n[![Build Status](https://travis-ci.org/moteus/lua-lzmq-zmq.svg?branch=master)](https://travis-ci.org/moteus/lua-lzmq-zmq)\n[![Coverage Status](https://coveralls.io/repos/github/moteus/lua-lzmq-zmq/badge.svg)](https://coveralls.io/github/moteus/lua-lzmq-zmq)\n\nWrapper around [lzmq](https://github.com/zeromq/lzmq) library to be compatiable with [lua-zmq](https://github.com/Neopallium/lua-zmq) library\n\n * [x] Context\n * [x] Socket\n * [x] Message\n * [x] Poller\n * [x] Tests\n\n### General notes\n* Object can be either userdata or table. I do not consider underlying type like part of public API.\n* I do not consider error message format as part of lua-zmq API so this library provide its own variant.\n* Convert to string of object now is not compatiable (except for `zmq.zmq_msg_t` class)\n* libzmq has changed since 2.x version and some functionlity not avaliable (e.g. `ZMQ_HWM` or `ZMQ_SWAP` options).\nThis library do not provide any emulation for such cases.\n* `lua-zmq` in some cases returns second `nil` value (e.g. `zmq.zmq_msg_t.init()` returns new message and `nil`\nas second value, `socket:setopt()` returns `true` and `nil` as second value). `lzmq-zmq` returns only one value.\n* `stopwatch` timer can not be restarted in `lua-zmq`, but `lzmq-zmq` allows stop and then restart it.\n\n### Context\n* `lua-zmq` do not close sockets when terminate context but just hang-up forever when try do it and there exists\nalive sockets. `lzmq-zmq` closes all opend sockets before terminate context.\n\n### Socket\n* `lzmq-zmq` provides set function with and without `set_` prefix. `lua-zmq` exports function only with one name.\nE.g. `skt:set_linger` but no `skt:linger` and `skt:subscribe` but no `skt:set_subscribe`.\n\n* Socket object has one additional method `skt:socket()` which returns `lzmq.socket` object.\nThis function need to uset with original `lzmq.poller` calss and is not part of original `lua-zmq` API\n\n### Message\n* `lzmq-zmq` keep data on resize message. if you have message `hello world` and then you call \n`msg:set_size(5)` then message will contain `hello`, but `lua-zmq` does not save such data and it \nwill contain garabage but because of memory allocator it may have correct result.\n\n### Poller\nThis library uses `lzmq.poller` class directly.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoteus%2Flua-lzmq-zmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoteus%2Flua-lzmq-zmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoteus%2Flua-lzmq-zmq/lists"}