I have the same question as yours.I am developing it use MFC.In the MSDN 2001,there have a class named CSocket.Reading it first if you have time.
  Implementing broadcast is not question,the trouble is:how to send a media file as stream style?In my opinion,some media type isn't support for stream style.In my project,I use the ActiveX:"Windows Media Player".There are some methods for broadcast.Research it ,maybe you will find something.
  I am working at this project also,I will be back later.
By the way,if you understand chinese,please use it.you will get more help.    

解决方案 »

  1.   

    其实这个问题我是在www.codeproject.com发问的。到csdn中我发表了许多次。但大多人都没有
    办法。曾经有个人认为,用media player sdk或其他的sdk可以解决问题。但说了就没有再回来了。虽然有比较多人关注。无奈。csdn中像你和pandw_a的人我看得多一点啊。不过请问你的Windows Media player的组件和相应的sdk你是哪里得来的。我曾经在软件杂志发现了。不过那张盘我不小心丢了。我发现有人用了DX6 media编了出来。不胜感谢Neo_P的再次参与。
      

  2.   

    再csdn的软件下在那里,有个人做的非常好噢。
      

  3.   

    I have this feature ,and I use it in my lan ,I broadcast my data to all users in my Lan ,use UDP ,they can use all programs play it and even browser
      

  4.   

    how can you manage it?that software is written by you?Thanks!
      

  5.   

    Suddy(风) 
       能不能讲一讲,怎么实现的?
      

  6.   

    and it is also scilent.if anybody can help me ,give you suggestion to me ,thanks!
      

  7.   

    我回去查了好多资料,包括msdn ,发现媒体文件的广播用udp才合适(tcp效率低,建立连接也很占用带宽)。但msdn中udp编程属于sdk,介绍很少。mfc封装的类在这一块似乎也无能为力。在有,即使udp编程问题解决了,在这个工程中也需要采用多线程的技术处理好各种同步和errors,不过这方面的技术支持就多多了。
    另,我上次有提到用已有的ActiveX控件"Windows Media Player",很抱歉,本人是用的D班的
    Visual C++6.0 Enterprise Version自带的已注册组件。如果那位朋友有优秀的udp方面的资料,请推荐一二,不胜感激!
    继续关注!