diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-09-23 11:37:49 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-09-23 11:37:49 -0230 |
commit | 2eeb903794903455fcf4f4d82f2ad2eb0d5f4807 (patch) | |
tree | b4c667b45a2503f4567f229d5e3677cbe38b6e83 /demoscript/Ice | |
parent | Minor change to Udptransceiver to ensure proper tracing on failure (diff) | |
download | ice-2eeb903794903455fcf4f4d82f2ad2eb0d5f4807.tar.bz2 ice-2eeb903794903455fcf4f4d82f2ad2eb0d5f4807.tar.xz ice-2eeb903794903455fcf4f4d82f2ad2eb0d5f4807.zip |
ICE-5526 multicast demo not working on OSX 10.9
Diffstat (limited to 'demoscript/Ice')
-rw-r--r-- | demoscript/Ice/multicast.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/demoscript/Ice/multicast.py b/demoscript/Ice/multicast.py index ddb6a97d7b8..e3c4dbaec56 100644 --- a/demoscript/Ice/multicast.py +++ b/demoscript/Ice/multicast.py @@ -73,10 +73,14 @@ def run(clientCmd, serverCmd): sys.stdout.flush() # - # On OS X, using the interface-local address doesn't work, the client fails with - # a "Host not reachable" error, instead we use a link-local address with on loopback. + # On OS X, using the site-local address doesn't work, the server fails with + # a "Can't assign requested address" error, instead we use a link-local address + # with on loopback. # - endpoint = 'udp -h \\"ff15::1:1\\" -p 10000' + if Util.isDarwin(): + endpoint = 'udp -h \\"ff02::1:1\\" -p 10000 --interface \\"::1\\"' + else: + endpoint = 'udp -h \\"ff15::1:1\\" -p 10000' serverCmd += ' --Ice.IPv6=1 --Discover.Endpoints="%s"' % (endpoint) clientCmd += ' --Ice.IPv6=1 --Discover.Proxy="discover:%s"' % (endpoint) |