[zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

Symbian Projects proj_symbian at live.com
Thu Mar 15 14:30:30 CET 2012



Hello justin, 

Thanks for the reply , can you tell me how i can close the socket and terminate the context.

Regarding closing the socket you mean by simply calling socket close method on the ZMQ socket ??

I am pretty new to this so thank for your help.

Ron
> From: jhcook at gmail.com
> Date: Thu, 15 Mar 2012 11:53:12 +0000
> To: zeromq-dev at lists.zeromq.org
> Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder
> 
> Are you closing the socket and terminating the context when you exit?
> 
> On Thu, Mar 15, 2012 at 10:52 AM, Symbian Projects
> <proj_symbian at live.com> wrote:
> > It works ok for the first time but the next time i start it doesnt bind to
> > the outgoing PUB port always gives me error something like :
> >
> >  line 15, in startForwarder
> >     outgoing.bind('tcp://127.0.0.1:5562')
> >   File "socket.pyx", line 489, in zmq.core.socket.Socket.bind
> > (zmq\core\socket.c:4797)
> > ZMQError: Address in use
> 
> 
> -- 
> Justin Cook
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120315/322eb671/attachment.htm>


More information about the zeromq-dev mailing list