About Store Forum Documentation Contact



Post Reply 
Multicast
Author Message
yvanvds Offline
Member

Post: #1
Multicast
Hey

Is it possible to use FastConnection or Socket to receive messages from a multicast address, like 239.255.42.99?

Thanks,

yvan
09-18-2016 01:03 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Multicast
Hi,

Sorry I've never heard anything about a Multicast, so I don't really know.
09-19-2016 12:02 AM
Find all posts by this user Quote this message in a reply
yvanvds Offline
Member

Post: #3
RE: Multicast
Multicast can be used on internal networks to send a message to every client which is listening for it. It is, for instance, used to find network printers. Some are reserved, others can be used by any application:

http://www.iana.org/assignments/multicas...sses.xhtml

In my case, a server sends a multicast request every 15 seconds. Online clients should identify themselves on this request.

(I use this for auto configuration in a setup with real and virtual robots. Because it is intended for a stage performance, it is critical that clients can be replaced in a matter of minutes and without manual configuration in case something goes wrong.)

I have implemented this in a Windows IOT application for the real robots, and on the server, both with the plain microsoft network library. But for some reason it doesn't work with Esenthel.

It's not a huge problem, but i was just wondering why it didn't work.
09-19-2016 06:49 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Multicast
I'm not sure as EE::Socket are just wrappers for basic sockets.

On Windows it's initialized with:
if(WSAStartup(MAKEWORD(2, 2), &WsaData)==NO_ERROR) // init WinSock

Perhaps you need to set some flag to the sockets?
09-20-2016 06:46 AM
Find all posts by this user Quote this message in a reply
Post Reply