Actually use the group address now that we have it
This commit is contained in:
parent
f6d9916b4a
commit
04d57855f8
@ -4,7 +4,7 @@ import network
|
|||||||
class NotificationListener:
|
class NotificationListener:
|
||||||
def __init__(self, group, name):
|
def __init__(self, group, name):
|
||||||
service = group.get_service(name, Notifier.TYPE)
|
service = group.get_service(name, Notifier.TYPE)
|
||||||
server = network.GroupServer(service.get_address(),
|
server = network.GroupServer(service.get_group_address(),
|
||||||
service.get_port(),
|
service.get_port(),
|
||||||
self._recv_multicast)
|
self._recv_multicast)
|
||||||
server.start()
|
server.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user