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. Suggestions for general networking solution on WAN and LAN

Suggestions for general networking solution on WAN and LAN

Scheduled Pinned Locked Moved C#
questionjavasysadminhelptutorial
2 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.
  • L Offline
    L Offline
    lvq684
    wrote on last edited by
    #1

    Hi. I am about to program a piece of software which contains a single server, and about 20-40 clients. All parts can be spread out on a lan, or on a wan. The server shall be able to broadcast/multicast to the clients in some way, and the clients should be able to fetch information from the server. There are about 30 kinds of information which has to be fetched/broadcasted. Question is, how to solve this general problem in the most elegant way? I would be happy if i could avoid switches in the client/server end to check what kind of information i received, or make my own kind of application layer protocol to check it. I had a look at remoting, like RMI in java, but that seems to be a very bad idea over WAN because of firewalls and such. Do you have any insight in possible solutions for this? Thanks alot :)

    M 1 Reply Last reply
    0
    • L lvq684

      Hi. I am about to program a piece of software which contains a single server, and about 20-40 clients. All parts can be spread out on a lan, or on a wan. The server shall be able to broadcast/multicast to the clients in some way, and the clients should be able to fetch information from the server. There are about 30 kinds of information which has to be fetched/broadcasted. Question is, how to solve this general problem in the most elegant way? I would be happy if i could avoid switches in the client/server end to check what kind of information i received, or make my own kind of application layer protocol to check it. I had a look at remoting, like RMI in java, but that seems to be a very bad idea over WAN because of firewalls and such. Do you have any insight in possible solutions for this? Thanks alot :)

      M Offline
      M Offline
      Mirko1980
      wrote on last edited by
      #2

      If you have to communicate through WAN, your best option is using Windows Communication Foundation, using one of the HTTP bindings.

      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