Sockets overview
Sockets can be categorized in a next way:
Unidirectional socket
The socket can either receive or send a message.
Example: Push, Pull, Publisher, Subscriber.Bidirectional socket
The socket can receive and send a message.
Example: XPublisher, XSubscriber, Router, Dealer.