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. Server and multiple clients question

Server and multiple clients question

Scheduled Pinned Locked Moved C#
questiongame-devsysadmin
4 Posts 2 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.
  • E Offline
    E Offline
    Eduard Keilholz
    wrote on last edited by
    #1

    Hey guys, I want (just for fun) to create a poker (texas hold'em) server which allows up to 12 clients to connect and play a game of poker. I want to know what's the best approach to create a server - client application like this? I was thinking of creating a TCP Listener (server) and let clients (TcpClient) connect to the listener (server). Is this solution going to solve my puzzle or do I need to think in a different way? For your info : My goal is to get the poker server to work on my LAN. Thanks guys!

    .: I love it when a plan comes together :. http://www.zonderpunt.nl

    T 1 Reply Last reply
    0
    • E Eduard Keilholz

      Hey guys, I want (just for fun) to create a poker (texas hold'em) server which allows up to 12 clients to connect and play a game of poker. I want to know what's the best approach to create a server - client application like this? I was thinking of creating a TCP Listener (server) and let clients (TcpClient) connect to the listener (server). Is this solution going to solve my puzzle or do I need to think in a different way? For your info : My goal is to get the poker server to work on my LAN. Thanks guys!

      .: I love it when a plan comes together :. http://www.zonderpunt.nl

      T Offline
      T Offline
      Tobias Schoenig
      wrote on last edited by
      #2

      Hi, maybe you should check out .NET Remoting via TCP or HTTP-channel. It would be the easiest and fastest way to build up a distributed application like the one you're about to create.

      modified on Tuesday, November 24, 2009 9:19 AM

      E 1 Reply Last reply
      0
      • T Tobias Schoenig

        Hi, maybe you should check out .NET Remoting via TCP or HTTP-channel. It would be the easiest and fastest way to build up a distributed application like the one you're about to create.

        modified on Tuesday, November 24, 2009 9:19 AM

        E Offline
        E Offline
        Eduard Keilholz
        wrote on last edited by
        #3

        Erhm, I don't want the application or parts of the application to run distributed. I want one server application, and multiple client applications. The clients connect to the server. And for example, when a new client joins, the server sends a message to all clients that a new client joined and all clients seperately handle that message.

        .: I love it when a plan comes together :. http://www.zonderpunt.nl

        T 1 Reply Last reply
        0
        • E Eduard Keilholz

          Erhm, I don't want the application or parts of the application to run distributed. I want one server application, and multiple client applications. The clients connect to the server. And for example, when a new client joins, the server sends a message to all clients that a new client joined and all clients seperately handle that message.

          .: I love it when a plan comes together :. http://www.zonderpunt.nl

          T Offline
          T Offline
          Tobias Schoenig
          wrote on last edited by
          #4

          :) That is exactly what you can do with .NET Remoting. Check out the articles as regards this subject on the codeproject and you'll find what you're looking for. There're are a lot of examples there.

          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