named pipes in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tezu
    New Member
    • Dec 2008
    • 39

    #1

    named pipes in c++

    Hi all ,

    Im using pipes in my application , I am facing some problem in declaring it .
    if i use the pipename ad \\.\\pipe\\test Pipe(where . indictes the local machine name ) its creating the pipe .
    But if i give the host name instead of the "." pipe is not getting created .....


    thx in advance :)
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Does the host have a public folder named pipe available (visible and shared)?

    Comment

    • tezu
      New Member
      • Dec 2008
      • 39

      #3
      Originally posted by jkmyoung
      Does the host have a public folder named pipe available (visible and shared)?
      its not really the folder its the name of the pipe thts all

      Comment

      • jkmyoung
        Recognized Expert Top Contributor
        • Mar 2006
        • 2057

        #4
        . relies on the working directory.

        If you give the hostname only, there is no guarantee it will be in the same working directory.

        Comment

        Working...