| Previous | Next
Win32::PipeThis module gives Win32 Perl the ability to use named pipes. Under Windows, named pipes are used for processes to communicate with one another, and are not limited to the local machine. Named pipes are created with my $named_pipe = Win32::Pipe->new($pipe_name); Win32::Pipe MethodsThe following methods are provided for objects of created by Win32::Pipe.
$named_pipe->BufferSize( ) Returns the size of the instance of the buffer of the named pipe.
$named_pipe->Close
$named_pipe->Connect Tells the named pipe to create an instance of the named pipe and wait until a client connects. Returns true on success, false on failure.
$named_pipe->Disconnect Disconnects (and destroys) the instance of the named pipe from the client. Returns true on success, false on failure.
$named_pipe->Error Returns the last error messages pertaining to the named pipe, if used in context to the package. Returns a list containing ERROR_NUMBER and ERROR_TEXT.
$named_pipe->Read Reads from the named pipe. Returns data read from the pipe on success,
$named_pipe->ResizeBuffer(SIZE) Sets the size of the buffer of the instance of the named pipe to
$named_pipe->Write(DATA) Writes |