ZeroMQ Official Address: http://api.zeromq.org/4-0:zmq_ctx_new
Zmq_ctx_new (3) ØMQ Manual-ømq/3.2.5
Name
zmq_ctx_new– Creating a new ZMQ environment context
Synopsis
void *zmq_ctx_new ();
Description
The Zmq_ctx_new () function creates a new ZMQ environment context.
This function replaces the function zmq_init (3), which is no longer in favor of being used.
Thread Safety
The ZMQ environment context is thread-safe and you can use as much of the application thread share as you need without adding a lock to the caller.
Return value
If Zmq_ctx_new () executes successfully, a newly created context handle is returned. Otherwise, this function will return null and set errno to the values defined below.
Errors
This function does not define any error codes.
See Also
ZMQ (7) Zmq_ctx_set (3) zmq_ctx_get (3) Zmq_ctx_destroy (3)
Authors
THISØMQ manual page was written by Pieter Hintjens [email protected]
WEB site design and content is copyright (c) 2007-2012 Imatix Corporation. Contact us for professional support. Site content licensed under the Creative Commons attribution-share alike 3.0 License. ØMQ is copyright (c) Copyright (c) 2007-2012 Imatix Corporation and Contributors. ØMQ is free software licensed under the LGPL. ØMQ, ZeroMQ, and 0MQ are trademarks of Imatix Corporation. Terms of Use-privacy
Policy
Translation: The Storm
Mail: [Email protected]
Zeromq interface function: zmq_ctx_new– Create a new ZMQ environment context