If your sockets are connection oriented (it is. TCP) using IP Multicast won't be an option.
Multicast was made with Datagrams in mind instead of Packets. Though there was a multicast solution that numbered the datagrams to request retransmission in case of packet loss. Regards, Esteban A. Maringolo 2013/11/20 Santiago Bragagnolo <[email protected]>: > Great info! Thanks! > > > 2013/11/20 Igor Stasenko <[email protected]> >> >> Dig deeper: IP protocol supports broadcasting/multicasting. >> >> >> http://en.wikipedia.org/wiki/IP_multicast >> >> >> On 20 November 2013 08:49, Santiago Bragagnolo >> <[email protected]> wrote: >>> >>> Hi all! Im making some performance enhancement on PhaROS, i realised that >>> one of my common scenarios is having several sockets that should receive >>> exactly the same information, in order to do that, im using n calls to the >>> vm, which does n system-calls. >>> >>> I was wondering if there something done in: >>> >>> - send the same data to all the sockets in just one primitive >>> - send the same data to all the sockets in just one syscall. >>> >>> I checked around in google but i didn't found anything useful, but >>> probably i have no knowledge about the proper words for such search :). >>> >>> >>> Thanks! >>> >>> >> >> >> >> -- >> Best regards, >> Igor Stasenko. > >
