[ENet-discuss] Does ENet use Multicast?
Ruud van Gaal
ruud at racer.nl
Thu Aug 18 15:44:52 PDT 2011
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 <lsalzman at gmail.com> 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
> ENet-discuss at cubik.org
> http://lists.cubik.org/**mailman/listinfo/enet-discuss<http://lists.cubik.org/mailman/listinfo/enet-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110819/2dd61b2b/attachment.html>
More information about the ENet-discuss
mailing list