Actually use the group address now that we have it

This commit is contained in:
Marco Pesenti Gritti 2006-05-15 17:01:31 -04:00
parent f6d9916b4a
commit 04d57855f8

View File

@ -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()