Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. About MMS(Microsoft Media Server)...

About MMS(Microsoft Media Server)...

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpsysadmintutorialquestion
7 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 11215513
    wrote on last edited by
    #1

    I'm studying MMS Protocol in order to develop the program connecting to FM Radio broadcast of which the url scheme is mms://domain_name/sub_name(directory name?) such as mms://wmc1.liquidviewer.net/WEEI I can obtain the ip address of mms url above, but i don't know the meaning of sub_name. it's important when i write tcp socket code. The socket function usually takes ip address and port number. The MMS protocol's port number is used with 1755. If i have ip address and port number, i can write code as below. ------------------------------------------------------------- const int MMF_PROTOCOL = 1755; char sServerIP[] = "127.0.0.1"; if(WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) ErrorHandling("WSAStartup() error!"); hSocket=socket(PF_INET, SOCK_STREAM, 0); if(hSocket == INVALID_SOCKET) ErrorHandling("socket() error"); memset(&servAddr, 0, sizeof(servAddr)); servAddr.sin_family=AF_INET; servAddr.sin_addr.s_addr=inet_addr(sServerIP); servAddr.sin_port=htons(MMF_PROTOCOL); if(connect(hSocket, (struct sockaddr*)&servAddr, sizeof(servAddr))==SOCKET_ERROR) ErrorHandling("connect() error!"); while(1) { send(hSocket, message, strlen(message), 0); ... } ------------------------------------------------------------- However, i don't know how to connect that mms url owing to the sub_name(directory?). if mms url is mms://111.222.333.444, i can try to connect server with socket because in that case i know ip address and port number(MMS Protocol's port number, 1755). But, with mms://111.222.333.444/sub_name(directory?), i can't connect due to sub_name. I want to take account of sub_name, then do my purpose. Do you know anybody about this problem?

    L 1 Reply Last reply
    0
    • M Member 11215513

      I'm studying MMS Protocol in order to develop the program connecting to FM Radio broadcast of which the url scheme is mms://domain_name/sub_name(directory name?) such as mms://wmc1.liquidviewer.net/WEEI I can obtain the ip address of mms url above, but i don't know the meaning of sub_name. it's important when i write tcp socket code. The socket function usually takes ip address and port number. The MMS protocol's port number is used with 1755. If i have ip address and port number, i can write code as below. ------------------------------------------------------------- const int MMF_PROTOCOL = 1755; char sServerIP[] = "127.0.0.1"; if(WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) ErrorHandling("WSAStartup() error!"); hSocket=socket(PF_INET, SOCK_STREAM, 0); if(hSocket == INVALID_SOCKET) ErrorHandling("socket() error"); memset(&servAddr, 0, sizeof(servAddr)); servAddr.sin_family=AF_INET; servAddr.sin_addr.s_addr=inet_addr(sServerIP); servAddr.sin_port=htons(MMF_PROTOCOL); if(connect(hSocket, (struct sockaddr*)&servAddr, sizeof(servAddr))==SOCKET_ERROR) ErrorHandling("connect() error!"); while(1) { send(hSocket, message, strlen(message), 0); ... } ------------------------------------------------------------- However, i don't know how to connect that mms url owing to the sub_name(directory?). if mms url is mms://111.222.333.444, i can try to connect server with socket because in that case i know ip address and port number(MMS Protocol's port number, 1755). But, with mms://111.222.333.444/sub_name(directory?), i can't connect due to sub_name. I want to take account of sub_name, then do my purpose. Do you know anybody about this problem?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      MMS is no longer supported, see http://en.wikipedia.org/wiki/Microsoft_Media_Server[^].

      M 1 Reply Last reply
      0
      • L Lost User

        MMS is no longer supported, see http://en.wikipedia.org/wiki/Microsoft_Media_Server[^].

        M Offline
        M Offline
        Member 11215513
        wrote on last edited by
        #3

        Thank you for your answer. Should i study RTSP for that work? hm... anyway, your answer is very helpful and will be helpful. However, I am still wondering how to connect to mms url such as "mms://wmc1.liquidviewer.net/WEEI" when programming socket. The below is extracted on the URL you mentioned. "As of 2012 Microsoft still recommends[1] using "mms://" as a "protocol rollover[2] URL"." Therefore, whether or not i use RTSP, i have to know the way to connect mms url with socket for my work. In this part, do you have any answer? thank you for your interest.

        L 1 Reply Last reply
        0
        • M Member 11215513

          Thank you for your answer. Should i study RTSP for that work? hm... anyway, your answer is very helpful and will be helpful. However, I am still wondering how to connect to mms url such as "mms://wmc1.liquidviewer.net/WEEI" when programming socket. The below is extracted on the URL you mentioned. "As of 2012 Microsoft still recommends[1] using "mms://" as a "protocol rollover[2] URL"." Therefore, whether or not i use RTSP, i have to know the way to connect mms url with socket for my work. In this part, do you have any answer? thank you for your interest.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Did you look at http://msdn.microsoft.com/en-us/library/cc234711.aspx[^]?

          M 1 Reply Last reply
          0
          • L Lost User

            Did you look at http://msdn.microsoft.com/en-us/library/cc234711.aspx[^]?

            M Offline
            M Offline
            Member 11215513
            wrote on last edited by
            #5

            sure. I already saw that document and downloaded "[MS-MMSP].pdf" for reading. Then I read it roughly. Could you tell me about what i may be missing.

            L 1 Reply Last reply
            0
            • M Member 11215513

              sure. I already saw that document and downloaded "[MS-MMSP].pdf" for reading. Then I read it roughly. Could you tell me about what i may be missing.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Sorry, you need to find the references in the document.

              M 1 Reply Last reply
              0
              • L Lost User

                Sorry, you need to find the references in the document.

                M Offline
                M Offline
                Member 11215513
                wrote on last edited by
                #7

                ok, thank you for your attention.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups