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. Web Development
  3. contact client pc from web server

contact client pc from web server

Scheduled Pinned Locked Moved Web Development
sysadminhostingbusinessquestion
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.
  • D Offline
    D Offline
    dene99970
    wrote on last edited by
    #1

    Let's say there is a client app installed on a computer. I want to send notification to the client app from the web server. I know I can do this with a client and server app by opening a tcp connection. Can a non-http tcp connection be opened between the client app and the http server? Do I need to run a client app on the web server? Will running such an app, like an .exe file, cause performed problems for a standard http web server? Would I need a dedicated server? Initiating periodic http requests from client app would not be fast enough for my requirements.

    L 1 Reply Last reply
    0
    • D dene99970

      Let's say there is a client app installed on a computer. I want to send notification to the client app from the web server. I know I can do this with a client and server app by opening a tcp connection. Can a non-http tcp connection be opened between the client app and the http server? Do I need to run a client app on the web server? Will running such an app, like an .exe file, cause performed problems for a standard http web server? Would I need a dedicated server? Initiating periodic http requests from client app would not be fast enough for my requirements.

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

      As has been pointed out before, this is the wrong way to do it. Standard network communication should always be initiated from the client, with the server always listening for connection requests. If you try to initiate communication from the server what happens if the client is not listening?

      dene99970 wrote:

      Initiating periodic http requests from client app would not be fast enough for my requirements.

      What evidence do you have for this statement?

      It's time for a new signature.

      D 1 Reply Last reply
      0
      • L Lost User

        As has been pointed out before, this is the wrong way to do it. Standard network communication should always be initiated from the client, with the server always listening for connection requests. If you try to initiate communication from the server what happens if the client is not listening?

        dene99970 wrote:

        Initiating periodic http requests from client app would not be fast enough for my requirements.

        What evidence do you have for this statement?

        It's time for a new signature.

        D Offline
        D Offline
        dene99970
        wrote on last edited by
        #3

        I guess what I mean to say is that once connection is initiated by client, how can I have fast real-time communcation between client and web server. Can that be done on one of the many shared hosting solutions that cost $20 a month or so, or do I need a dedicated server with 2 seperate components: 1. the web server 2. the server app programmed in perhaps c++, java, or whatever

        L 1 Reply Last reply
        0
        • D dene99970

          I guess what I mean to say is that once connection is initiated by client, how can I have fast real-time communcation between client and web server. Can that be done on one of the many shared hosting solutions that cost $20 a month or so, or do I need a dedicated server with 2 seperate components: 1. the web server 2. the server app programmed in perhaps c++, java, or whatever

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

          I'm not sure that I could answer this question as so much depends on the location of the server and client, the bandwidth available, line speed, traffic volumes etc. The only way to get a reasonable idea of speed would be to talk to the hosting services to see what facilities they offer.

          It's time for a new signature.

          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