PacktLib: ZeroMQ

ZeroMQ

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started

The beginning

The message queue

Introduction to ZeroMQ

Hello world

Handling strings in C

Checking the ZeroMQ version

Summary

Introduction to Sockets

The publish-subscribe pattern

The pipeline pattern

Getting ZeroMQ context

Destroying ZeroMQ context

Cleaning up

Detecting memory leaks

Summary

Using Socket Topology

What a socket is

Types of Internet sockets

Transmission Control Protocol (TCP)

TCP header

ZeroMQ sockets

Routing schemes

Working with multiple sockets

Working with multi-part messages

How to handle interruptions

Introduction to CZMQ

Summary

Advanced Patterns

Extending the request-reply pattern

Writing multithreaded applications with ZeroMQ

Wrapping publisher-subscriber messages

High watermark

Reliability

Summary

Appendix

Index