[zeromq-dev] Can't bind same ZMQ_UP/DOWNSTREAM multiple times.
Oliver Smith
oliver at kfs.org
Tue Aug 17 21:03:19 CEST 2010
On 8/17/2010 1:43 PM, Oliver Smith wrote:
> In the context of up/downstream, I want the /context/ to take the
> connections and fair-queue messages between the consumer threads.
Ergo:
newbind(address)
{
int rc = aquireAddress() ; // Calls bind() if this
context doesn't already own the address.
if ( rc != 0 ) return rc ; // Probably EADDRINUSE
return connect(address) ;
}
- Oliver
More information about the zeromq-dev
mailing list