Re: Named Pipe Problem



Did you tried PSDK pipe examples , just a hint
Arkady

<AckMike@xxxxxxxxx> wrote in message
news:1141415815.068422.178940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am using Visual C++ version 8.x to create a named pipe client and
multithreaded server. The problem is that the client is getting hung
up on a call to WriteFile on the named pipe when under load. I have
packaged everything up into a zip
file. To start the test I open two "Visual Studio 2005 Command Prompt"
windows. In the
..../pipetest/debug directory I run "pipetest -server" then in the
other window in the same directory I run "pipetest -client".

The zip file can be found here:
www.lyonsland.com/pipeproblem/pipetest.zip

This includes the Visual Studio project, source code, and exes in the
debug directory.

I am sure that the problem has something to do with how I configure the
named pipe but I can not figure it out. I have posted this question
all over and have not made any progress. It is driving me nuts.

Thanks for any help,
Mike



.



Relevant Pages

  • [Full-disclosure] RE: Windows PHP 4.x "0-day" buffer overflow
    ... I believe using named pipes on windows has ALWAYS been known for MANY YEARS ... What this has to do with PHP I'm not certain either as this seems to ... > Where "pipe" is the named pipe to use. ...
    (Full-Disclosure)
  • question about memory visibility on Windows
    ... The request is done by writing a byte to a ... When the engine thread has ... byte on the write end of a pipe. ... The above is built on Linux and on Windows ...
    (comp.programming.threads)
  • Re: Signaling Ruby from C/C++
    ... // C code called from a Ruby instance method. ... Obviously make sure Pipe isn't allocated on the ... be very wary that _pipe produces a half-duplex pipe in Windows! ... Unlike some Unix flavors, you may not write Pipeand you may not read ...
    (comp.lang.ruby)
  • Re: platform independent file processing
    ... windows' gawk that i can call from within gawk and pipe to getline ... also, to be truly platform independent, more than just the command will need to be addressed: ex: the pipe works differently on windows than on linux so instead of each line presented on the pipe as it is created, the entire command is written to a temp file and then presented a line at a time from this file. ...
    (comp.lang.awk)
  • Re: afternoon smoke 1/03
    ... and it put me in the mood for a pipe [as if I ever ... Hey, ML, if you are running Windows, consider setting up your computer to ... dual-boot Windows and some variety of Linux and use Linux for all your on- ... actively install it deliberately/unknowingly. ...
    (alt.smokers.pipes)

Loading