1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

remove comments from bvllservice (use noBroadcast=True)

This commit is contained in:
Joel Bender 2015-09-14 16:44:53 -04:00
parent f1c8d09ef1
commit 866222ed30

View File

@ -90,12 +90,12 @@ class UDPMultiplexer:
bind(self.direct, self.directPort)
# create and bind the broadcast address
# if specialBroadcast and (not noBroadcast):
# self.broadcast = _MultiplexClient(self)
# self.broadcastPort = UDPDirector(self.addrBroadcastTuple, reuse=True)
# bind(self.direct, self.broadcastPort)
# else:
# self.broadcast = None
if specialBroadcast and (not noBroadcast):
self.broadcast = _MultiplexClient(self)
self.broadcastPort = UDPDirector(self.addrBroadcastTuple, reuse=True)
bind(self.direct, self.broadcastPort)
else:
self.broadcast = None
self.broadcast = None
# create and bind the Annex H and J servers
self.annexH = _MultiplexServer(self)