Robert G. Jakabosky
a335ef0625
Add support for zeromq 4.x
12 years ago
Tim Mensch
325b5874d1
added set and get functions on ZMQ context
13 years ago
Robert G. Jakabosky
def9da8920
Add unbind & disconnect socket methods.
13 years ago
Robert G. Jakabosky
b0413d4e75
Add zmq_proxy() function for ZeroMQ 3.2.x
...
zmq_device() is also available in 3.2.x as a deprecated method.
13 years ago
Robert G. Jakabosky
46ae68fe9e
Add support for ZeroMQ 2.2
14 years ago
Robert G. Jakabosky
bbaa86a552
io_threads parameter now defaults to 1.
14 years ago
Robert G. Jakabosky
6ee18ea74d
Add missing XPUB/XSUB socket types for zmq 3.1 support.
...
Also make sure DEALER/ROUTER and XREQ/XREP are all defined.
14 years ago
Robert G. Jakabosky
3058dce215
Change where ZMQ_NOBLOCK is defined if missing.
14 years ago
Robert G. Jakabosky
0aa2ed8e3f
Add missing zmq.DONTWAIT constant for zmq 3.1 support.
...
For forwards & backward compatibility define both DONTWAIT & NOBLOCK
for all versions.
14 years ago
Robert G. Jakabosky
b2aec4654e
Regenerate bindings.
...
Fix ffi detection code.
Split Lua code into multiple smaller C literals.
14 years ago
Robert G. Jakabosky
7adc63d089
Fix problem with FFI support on windows.
14 years ago
Robert G. Jakabosky
a9b9ca278a
Register module as a global to support old code that doesn't save the
...
module to a local variable.
14 years ago
Robert G. Jakabosky
837eae2da6
Fix version checks.
15 years ago
Robert G. Jakabosky
b1157e3aaa
Add support for zmq 3.0/3.1
15 years ago
Robert G. Jakabosky
67993e7953
Remove loading of libzmq.so/libzmq.dll for FFI bindings, since the symbols are accessible from zmq.so which we where loading.
15 years ago
Robert G. Jakabosky
052d18ffb2
Fix convertion of Ctx from cdata to lightuserdata for passing to sub-threads.
15 years ago
Robert G. Jakabosky
23db47708b
Update FFI bindings to be more pure (i.e. less messing around with userdata tricks.)
15 years ago
Robert G. Jakabosky
09c13aa2fd
Use table to cache Error number to string conversion.
15 years ago
Robert G. Jakabosky
477fbecb99
Add missing DEALER/ROUTER socket types.
15 years ago
Douglas Creager
10bc8059f1
Return standardized error message for EINTR
...
The zmq functions now use "interrupted" instead of the system-specific
strerror() result for any EINTR errors. This makes it easy to test for
those and retry any interrupted function calls.
15 years ago
Robert G. Jakabosky
ba5f08b586
Fix issue with some variables named 'this' which conflicts with the Intel C compiler.
15 years ago
Robert G. Jakabosky
ec8409ffeb
Use opaque struct types instead of 'void *'.
15 years ago
Robert G. Jakabosky
a49943157c
Add support for zmq_stopwatch_*() and zmq_sleep() functions.
15 years ago
Robert G. Jakabosky
8439751b91
Add detection code for really old ZeroMQ 2.0.x series.
15 years ago
Robert G. Jakabosky
b66901fe3c
Fixed issue with GC of 0MQ context object. poller:poll() method now returns number of events handled.
15 years ago
Robert G. Jakabosky
d90b00f237
Move low-level threads code into a different project lua-llthreads.
15 years ago
Robert G. Jakabosky
5de9a8d46f
Added support for running Lua code in child threads.
15 years ago
Robert G. Jakabosky
86f2d0c027
Update copyright notice.
15 years ago
Robert G. Jakabosky
bd30398861
Added zmq.poller object that wraps zmq_poll() function.
15 years ago
Robert G. Jakabosky
399258202d
Fixed some issues with compiling bindings on Windows.
15 years ago
Robert G. Jakabosky
12f588a636
Fixed context initialization from FFI cdata value.
15 years ago
Robert G. Jakabosky
4cd5bd27cf
Update link to 0MQ docs.
...
Add benchmarks that use send()/recv() instead of send_msg()/recv_msg()
interface.
15 years ago
Robert G. Jakabosky
d0a71ccbae
Add send_msg()/recv_msg() functions and zmq_msg_t object. Update FFI-based bindings to use latest LuaNativeObjects FFI support.
15 years ago
Robert G. Jakabosky
ed462fe9b8
Updated bindings to use newest features of LuaNativeObjects.
15 years ago
Robert G. Jakabosky
e61df55e51
Added support for creating a ZMQ context from LuaJIT cdata.
15 years ago
Robert G. Jakabosky
bfa0085b7c
Re-organize FFI files.
15 years ago
Robert G. Jakabosky
0ac861e107
Added support for creating a ZMQ context from a lightuserdata value. Move FFI code into a normal Lua file so we get nice syntax hightlighting.
15 years ago
Robert G. Jakabosky
42d4a1361b
Added LuaJIT2 FFI support.
15 years ago
Robert G. Jakabosky
2270280153
Added zmq_device() function.
15 years ago
Robert G. Jakabosky
8a36da4e48
Ported zmq bindings to LuaNativeObjects bindings generator.
15 years ago