Comment change
Added comments for interface as changed in listen() to reflect in kademlia.readthedocs,org page.
This commit is contained in:
parent
32e4cb7ff6
commit
b37b65cd10
@ -48,7 +48,8 @@ class Server(object):
|
|||||||
|
|
||||||
reactor.listenUDP(port, server.protocol)
|
reactor.listenUDP(port, server.protocol)
|
||||||
|
|
||||||
Provide interface="::" to accept ipv6 address
|
Args:
|
||||||
|
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