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. best way for a client/server program

best way for a client/server program

Scheduled Pinned Locked Moved C#
sysadminquestion
11 Posts 5 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.
  • T teknolog123

    hi, currently working on an internet cafe software which will be in client/server structure.Client and server will communicate in both ways(customers give orders from clients and server controls computers) and I am planning to use TCP sockets. So am I on the right direction? or what would be the best way? thanks in advance a fast and stable connection type and your valuable comments would be nice

    M Offline
    M Offline
    Md Marufuzzaman
    wrote on last edited by
    #2

    There is various way to do this... whatever I think for data transportation you should try web service...

    Thanks Md. Marufuzzaman


    Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

    T 1 Reply Last reply
    0
    • M Md Marufuzzaman

      There is various way to do this... whatever I think for data transportation you should try web service...

      Thanks Md. Marufuzzaman


      Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

      T Offline
      T Offline
      teknolog123
      wrote on last edited by
      #3

      to make it clear, my program will be used in one place.All clients and the server will be side by side. so why web service?

      M 1 Reply Last reply
      0
      • T teknolog123

        hi, currently working on an internet cafe software which will be in client/server structure.Client and server will communicate in both ways(customers give orders from clients and server controls computers) and I am planning to use TCP sockets. So am I on the right direction? or what would be the best way? thanks in advance a fast and stable connection type and your valuable comments would be nice

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

        TCP is usually fine

        M T 2 Replies Last reply
        0
        • L Lost User

          TCP is usually fine

          M Offline
          M Offline
          Md Marufuzzaman
          wrote on last edited by
          #5

          Could you please clarify... Why you are saying TCP is usually fine?

          Thanks Md. Marufuzzaman


          Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

          L 1 Reply Last reply
          0
          • L Lost User

            TCP is usually fine

            T Offline
            T Offline
            teknolog123
            wrote on last edited by
            #6

            thanks

            1 Reply Last reply
            0
            • M Md Marufuzzaman

              Could you please clarify... Why you are saying TCP is usually fine?

              Thanks Md. Marufuzzaman


              Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

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

              Well how often do you use UDP? And other protocols (like DCCP, SCTP, RSVP and ECN) are extremely rare

              P 1 Reply Last reply
              0
              • T teknolog123

                to make it clear, my program will be used in one place.All clients and the server will be side by side. so why web service?

                M Offline
                M Offline
                Md Marufuzzaman
                wrote on last edited by
                #8

                Well...TCP/IP socket is good for small transaction.... My point of view was the data transport mechanism.. you know HTTP over TCP/IP allow you to transfer data as xml format...which is much more reliable,secured.

                Thanks Md. Marufuzzaman


                Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

                T 1 Reply Last reply
                0
                • M Md Marufuzzaman

                  Well...TCP/IP socket is good for small transaction.... My point of view was the data transport mechanism.. you know HTTP over TCP/IP allow you to transfer data as xml format...which is much more reliable,secured.

                  Thanks Md. Marufuzzaman


                  Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

                  T Offline
                  T Offline
                  teknolog123
                  wrote on last edited by
                  #9

                  Md. Marufuzzaman wrote:

                  My point of view was the data transport mechanism

                  to get the best reply I think I have to be more specific. Things that I am planning to handle with the server part of the program are: (program will be used in LAN with 27 computers) - switch on/of client computers - open/close customer accounts(keep records of passed/elapsed times and charges them to account - always live connection to see if the client is connected or not - sending small files to clients (I don't care about security at all)

                  modified on Saturday, October 10, 2009 4:00 PM

                  X 1 Reply Last reply
                  0
                  • T teknolog123

                    Md. Marufuzzaman wrote:

                    My point of view was the data transport mechanism

                    to get the best reply I think I have to be more specific. Things that I am planning to handle with the server part of the program are: (program will be used in LAN with 27 computers) - switch on/of client computers - open/close customer accounts(keep records of passed/elapsed times and charges them to account - always live connection to see if the client is connected or not - sending small files to clients (I don't care about security at all)

                    modified on Saturday, October 10, 2009 4:00 PM

                    X Offline
                    X Offline
                    Xmen Real
                    wrote on last edited by
                    #10

                    here you go An Asynchronous Socket Server and Client[^]

                    TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN% R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>

                    ----------------------------------------------- 128 bit encrypted signature, crack if you can

                    1 Reply Last reply
                    0
                    • L Lost User

                      Well how often do you use UDP? And other protocols (like DCCP, SCTP, RSVP and ECN) are extremely rare

                      P Offline
                      P Offline
                      PaulSMvno
                      wrote on last edited by
                      #11

                      The other protocol SCTP is not rare. In Telecom, for Sigtran, SCTP is used.

                      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