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#
  4. Problems in .net socket

Problems in .net socket

Scheduled Pinned Locked Moved C#
csharpsysadminquestion
7 Posts 4 Posters 0 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.
  • N Offline
    N Offline
    nayabsiddiqi
    wrote on last edited by
    #1

    hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks

    Determination and faith are the only keys !

    J E G 3 Replies Last reply
    0
    • N nayabsiddiqi

      hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks

      Determination and faith are the only keys !

      J Offline
      J Offline
      Justin Perez
      wrote on last edited by
      #2

      Do all of the clients have the same firewall and configuration running?

      "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")

      N 1 Reply Last reply
      0
      • J Justin Perez

        Do all of the clients have the same firewall and configuration running?

        "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")

        N Offline
        N Offline
        nayabsiddiqi
        wrote on last edited by
        #3

        yup. actually all the client's instances are on same machine while server is on other machine

        Determination and faith are the only keys !

        1 Reply Last reply
        0
        • N nayabsiddiqi

          hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks

          Determination and faith are the only keys !

          E Offline
          E Offline
          Ennis Ray Lynch Jr
          wrote on last edited by
          #4

          Most routers kill network broadcasts. For guaranteed receipt use TCP/IP and send to each client individually.


          Need a C# Consultant? I'm available.
          Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

          N 1 Reply Last reply
          0
          • N nayabsiddiqi

            hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks

            Determination and faith are the only keys !

            G Offline
            G Offline
            Guinness4Strength
            wrote on last edited by
            #5

            Broadcasts are a "best efforts" communication method, you should plan on messages NOT making it to a client if your using UDP broadcast messages.

            N 1 Reply Last reply
            0
            • E Ennis Ray Lynch Jr

              Most routers kill network broadcasts. For guaranteed receipt use TCP/IP and send to each client individually.


              Need a C# Consultant? I'm available.
              Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

              N Offline
              N Offline
              nayabsiddiqi
              wrote on last edited by
              #6

              i m using tcp connection thats why confused of not get messages. it might be a router problem, but what if i run server and 4 clients on the same machine. i 've tested that way too but unsuccessful in receiving 100% messages.

              Determination and faith are the only keys !

              1 Reply Last reply
              0
              • G Guinness4Strength

                Broadcasts are a "best efforts" communication method, you should plan on messages NOT making it to a client if your using UDP broadcast messages.

                N Offline
                N Offline
                nayabsiddiqi
                wrote on last edited by
                #7

                the problem is m working on critical real time application in which the scnerio is like i must have to send message to all connected clients. if im using tcp then why there is a message loss, thats amazing to me atleast and wondering if i've done something wrong or that theory fails of reliable tcp connection :o thanks

                Determination and faith are the only keys !

                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