Squeak and Multicast?

John M McIntosh johnmci at smalltalkconsulting.com
Tue Jul 23 02:50:26 UTC 2002


>Multicast is supported by the latest Windows VMs though the interface is
>a bit obscure. You will have to pass byte arrays to
>Socket>>setOption:to: describing either one or two ip addresses (see
>socket documentation on it). The first ip describes the multi-cast group
>to join, the second (if present) the interface to use. E.g., something
>like:
>
>	socket setOption: 'IP_ADD_MEMBERSHIP'
>		to: (ByteArray with: 234 with: 5 with: 6 with: 7).
>
>will set the multi-cast group on the socket to 234.5.6.7. If an
>interface is passed in as well, the byte array must be of size 8 as in:
>
>	socket setOption: 'IP_ADD_MEMBERSHIP'
>		to: (ByteArray with: 234 with: 5 with: 6 with: 7
>		               with: 1 with: 2 with: 3 with. 4).
>
>Same for IP_DROP_MEMBERSHIP. Multicast support has been tested
>successfully though not agressively.
>
>Cheers,
>   - Andreas
>

This option doesn't exist in the mac vm, mostly because I didn't have 
a way to test it. If someone has a setup and wants to test it, I can 
build a mac vm for them to play with and confirm it works.


-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================



More information about the Squeak-dev mailing list