On Fri, 3 May 2013 22:26:26 +0800
jian lee <[email protected]> wrote:

> Hi,I used the StreamServer you defined in hub.py to listen ipv6
> protocol,codes is bellow:
> ************************************
> from ryu.lib.hub import StreamServer
> 
> listen_info = (('::', 179), 10, 50)
> server = StreamServer(listen_info, handler)

StreamServer is gevent API so you can do instead:

listen_info = ('::', 179)
server = StreamServer(listen_info, handler, backlog=50)

Well, I guess that using gevent API confuses developers so I think
that we need to stop using StreamServer stuff at some point.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to