I'm using address 255.255.255.255 for broadcasting Wake-On-LAN packets
though, isn't that multicast?
Also, I've briefly used the range 224.0.0.0-239.255.255.255 for
multicasting, which might be similar, although I'd refer to Google for
better tutorials... ;-)

Ruud

On Thu, Aug 18, 2011 at 11:03 AM, Lee Salzman <[email protected]> wrote:

> It does not use multicast, no.
>
>
> On 08/18/2011 07:05 PM, Paul Voigtlaender wrote:
>
>> Hi everyone,
>>
>> first I must say that I'm quite new to networking.
>> But I read about multicast, which makes it possible to send to a lot of
>> clients with only 1 time banwidth usage, sounds very good.
>>
>> I saw that enet offers a broadcast function.
>>
>> I read some of the enet sourcecode and found this in the
>> enet_host_broadcast function:
>>
>> for (currentPeer = host ->  peers;
>>          currentPeer<  &  host ->  peers [host ->  peerCount];
>>         ++ currentPeer)
>> {
>>    if (currentPeer ->  state != ENET_PEER_STATE_CONNECTED)
>>      continue;
>>
>>    enet_peer_send (currentPeer, channelID, packet);
>> }
>>
>> This looks for me as if enet is not using multicast.
>> Is that right, or am I overlooking something?
>> If it is true, why it is not used?
>>
>> Thanks for your answers.
>>
>
> ______________________________**_________________
> ENet-discuss mailing list
> [email protected]
> http://lists.cubik.org/**mailman/listinfo/enet-discuss<http://lists.cubik.org/mailman/listinfo/enet-discuss>
>
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to