parent
b37b65cd10
commit
6bbd1bfa42
@ -48,8 +48,7 @@ class Server(object):
|
|||||||
|
|
||||||
reactor.listenUDP(port, server.protocol)
|
reactor.listenUDP(port, server.protocol)
|
||||||
|
|
||||||
Args:
|
Provide interface="::" to accept ipv6 address
|
||||||
interface: Supply `'::'` to support ipv6 address. `'::'` is as defined as ipv6 support in `twisted`.
|
|
||||||
"""
|
"""
|
||||||
return reactor.listenUDP(port, self.protocol, interface)
|
return reactor.listenUDP(port, self.protocol, interface)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user