enwi / dartzmq

A simple dart zeromq implementation/wrapper around the libzmq C++ library
https://pub.dev/documentation/dartzmq/latest/
MIT License
26 stars 17 forks source link

Add notes for the dealer/rep #29

Closed JSYRD closed 7 months ago

JSYRD commented 1 year ago

There's no sync methods for simple req/rep, and async methods are always throwing exceptions. If simply change req to dealer, the send method only work for router, but not rep. So I added notes for the dealer/rep pattern how to correctly use the send and listen methods. Working well. Tested by myself.