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)

**************************************
but,it didn,t work,and had some errors,so I make a little change in line 70
of hub.py to transfer a tuple arguments to eventlet.listen().

*******************************
  class StreamServer(object):
        def __init__(self, listen_info, handle=None, backlog=None,
                     spawn='default', **ssl_args):
            ...
            self.server = eventlet.listen(*listen_info) #line 70
            ....
*******************************
it become fine. Am I right?
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to