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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to use Named pipe in Client server application

how to use Named pipe in Client server application

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialsysadmin
5 Posts 3 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
    singh_nav
    wrote on last edited by
    #1

    Hi, i am new to use the PIPE and client server application. I have been able to communicate the IPC for processes that are on the same computer using named pipe. But i am clueless, how to obtain it for the communication between two different computer OR client - server application. If any example or link is available, please provide. Thanks ND

    M M 2 Replies Last reply
    0
    • S singh_nav

      Hi, i am new to use the PIPE and client server application. I have been able to communicate the IPC for processes that are on the same computer using named pipe. But i am clueless, how to obtain it for the communication between two different computer OR client - server application. If any example or link is available, please provide. Thanks ND

      M Offline
      M Offline
      MANISH RASTOGI
      wrote on last edited by
      #2

      Is this link helpful. http://www.codeguru.com/cpp/i-n/network/namedpipes/article.php/c2475

      1 Reply Last reply
      0
      • S singh_nav

        Hi, i am new to use the PIPE and client server application. I have been able to communicate the IPC for processes that are on the same computer using named pipe. But i am clueless, how to obtain it for the communication between two different computer OR client - server application. If any example or link is available, please provide. Thanks ND

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        The only difference is the pipe name. The client needs to connect to a pipe name with the server name included: \\servername\pipe\pipename

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        S 1 Reply Last reply
        0
        • M Mark Salsbery

          The only difference is the pipe name. The client needs to connect to a pipe name with the server name included: \\servername\pipe\pipename

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          S Offline
          S Offline
          singh_nav
          wrote on last edited by
          #4

          Thanks , It works But now i am finding the new issue. I am able to connect only one client to the server.because pipe is opened by one client so another client is not able to connect it I am connect the multiple client withe same server. how to achive it? Thanks again Navdeep

          M 1 Reply Last reply
          0
          • S singh_nav

            Thanks , It works But now i am finding the new issue. I am able to connect only one client to the server.because pipe is opened by one client so another client is not able to connect it I am connect the multiple client withe same server. how to achive it? Thanks again Navdeep

            M Offline
            M Offline
            Mark Salsbery
            wrote on last edited by
            #5

            See Named Pipe Instances[^] Mark

            Mark Salsbery Microsoft MVP - Visual C++ :java:

            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