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. Regarding TCP server.

Regarding TCP server.

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadmin
8 Posts 6 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.
  • S Offline
    S Offline
    sunny_vc
    wrote on last edited by
    #1

    Hi all, I have to develop a TCP server using MFC. Is there any limitation on the number of clients to be connected to the server.

    Regards, Sunil Kumar

    CPalliniC I 2 Replies Last reply
    0
    • S sunny_vc

      Hi all, I have to develop a TCP server using MFC. Is there any limitation on the number of clients to be connected to the server.

      Regards, Sunil Kumar

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      sunilkumar.d wrote:

      Is there any limitation on the number of clients to be connected to the server.

      Yes (unsless you have the ICPM, Infinite Computing Power Machine... :rolleyes: ). :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      S 1 Reply Last reply
      0
      • CPalliniC CPallini

        sunilkumar.d wrote:

        Is there any limitation on the number of clients to be connected to the server.

        Yes (unsless you have the ICPM, Infinite Computing Power Machine... :rolleyes: ). :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        S Offline
        S Offline
        sunny_vc
        wrote on last edited by
        #3

        But can we know the approximate number of clients?

        Regards, Sunil Kumar

        _ CPalliniC M L 4 Replies Last reply
        0
        • S sunny_vc

          But can we know the approximate number of clients?

          Regards, Sunil Kumar

          _ Offline
          _ Offline
          _Superman_
          wrote on last edited by
          #4

          You can see the number of clients online at the top left corner of this screen.:cool:

          «_Superman_» I love work. It gives me something to do between weekends.

          1 Reply Last reply
          0
          • S sunny_vc

            But can we know the approximate number of clients?

            Regards, Sunil Kumar

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            You, as the server designer, should know about. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            In testa che avete, signor di Ceprano?

            1 Reply Last reply
            0
            • S sunny_vc

              But can we know the approximate number of clients?

              Regards, Sunil Kumar

              M Offline
              M Offline
              Michael Schubert
              wrote on last edited by
              #6

              42

              1 Reply Last reply
              0
              • S sunny_vc

                But can we know the approximate number of clients?

                Regards, Sunil Kumar

                L Offline
                L Offline
                led mike
                wrote on last edited by
                #7

                sunilkumar.d wrote:

                can we know the approximate number of clients?

                Not as in there is some predefined number that we can give you. Therefore if you want to understand aspects of client server computing such as this you will need to study the subject. This will require reading information on the subject and not so much looking for magic answers in internet forums.

                1 Reply Last reply
                0
                • S sunny_vc

                  Hi all, I have to develop a TCP server using MFC. Is there any limitation on the number of clients to be connected to the server.

                  Regards, Sunil Kumar

                  I Offline
                  I Offline
                  Iain Clarke Warrior Programmer
                  wrote on last edited by
                  #8

                  To expand on the answer led-mike gave you, it really depends on the nature of the server. I suspect there's a hard limit on the number of simultaneous connections, but it's going to be REALLY big. The actual limit will depend on what your software does. Does it do some big heavy duty maths and return an answer? Not many clients. Does it just echo any packet sent to it? Lots of clients. I'm sure your application is somewhere in between, but we won't be able to give a sensible answer without know lots about your application, and skill. In the meantime, do a search on google for codeproject and io completion ports. You should see many articles that will give you more help than I ever can. Iain.

                  Codeproject MVP for C++, I can't believe it's for my lounge posts...

                  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