开发者

Join multicast group on DatagramSocket?

I want to receive network data multicasted by another application on an AIR UDP socket (DatagramSocket).

In other programming languages, this is achieved by calling (Java) "sock.joinMulticastGroup(group)". In C it is a simple "setsockopt" call.

I can't find anything on how to fine-control a socket in Adobe Flash (TCP or UDP) using an equivalent of "setsockopt" (I also want开发者_如何转开发 to change the receive buffer size by the way, another "setsockopt" call).

If anyone out there knows if it is possible (or not), please let me know. I'm so desperate I'm ready to have a dedicated app (that I'll write in C) to receive the multicast data locally and forward it on a localhost TCP or UDP Flash socket!

Thanks a lot! :)

Matthieu

PS: Here is a link to a message I posted on Adobe forum, without much success. Week-end I guess? ;)

PPS: Here is another link which scares me, though the question dates from 2008, the last answer is only 3-months old.


Use RTMFP for this kind of stuff. NetConnection, NetStream

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜