Wolfram Language

ZeroMQ Socket Pair

ZeroMQ is a high-performance socket framework used by many programming languages and applications. It provides a socket interface with multiple types of connections that can utilize different low-level transports such as TCP. A pair of sockets connection provides an easy means for two processes to communicate.

Open a ZMQ socket and bind it to a port found automatically.

Connect to it from another ZMQ socket. The two sockets now share an exclusive connection.

Write a message from socket A to B.

Write a message from socket B to A.

Read the message A received from B.

Read the message B received from A.

Related Examples

de es fr ja ko pt-br zh