By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,883 Members | 1,952 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,883 IT Pros & Developers. It's quick & easy.

Multicast UDP in VS6 C or C++

P: 32
Plenty of examples on line for later versions of Visual Studio.

I have the MSDN for VS6.0

There is no mention of Multicast UDP sockets. There is Broadcast. Looking at the socket options I find SO_BROADCAST. There is no corresponding MULTICAST socket option. Does anyone know if it even exists or am I chasing a Holy Grail????

Thanks

-E
Sep 22 '15 #1
Share this Question
Share on Google+
2 Replies


P: 32
emp
I had found that link last week and it created more questions. The struct ip_mreq_source is not defined anywhere in my VS6 environment. I found a definition of the struct on line and I implemented it in an existing header file. Next IP_ADD_SOURCE_MEMBERSHIP and IP_DROP_SOURCE_MEMBERSHIP were undefined anywhere in the VS6 environment. I found them online and defined them with a #define. The variables grpaddr, srcaddr, iaddr are left to the imagination.
and Lastly do the standard sendto() and recvfrom() functions just plug in here. I've got this partially implemented to see if it will work for me.
Sep 23 '15 #3

Post your reply

Sign in to post your reply or Sign up for a free account.