Click to See Complete Forum and Search --> : create a multicast socket


Dror A
June 15th, 2004, 08:44 AM
Hello,

I am trying to create a multicast socket.
upon calling
setsockopt(sock,IPPROTO_IP,IP_ADD_MEMBERSHIP,(char*)&mreq,sizeof(mreq))

I get error 10043 - which mean the setsockopt does not recognize the IP_ADDMEMBERSIP option (number 5).

from what I saw in the forum it should work, further more I manged to activate it on other PC.

my PC is Win2K service pack 3.

any idea will be gladly accepted.

thaks,

Andreas Masur
June 15th, 2004, 09:26 AM
[Moved thread]

kuphryn
June 15th, 2004, 12:38 PM
Post the declarations and code that contain the variable "sock" and "mreq."

Kuphryn