NAME
Win32::Pipe::PP - Pure Perl replacement for Win32::Pipe using Win32::API
SYNOPSIS
use Win32::Pipe::PP;
my $server = Win32::Pipe->new($name) or die ''.Win32::Pipe::Error();
$server->Connect() or die ''.Win32::Pipe->Error();
...
$client->Write("Hello");
my $data = $server->Read();
$server->Disconnect;
DESCRIPTION
This module provides a pure Perl implementation of Win32::Pipe using Win32::API. It is designed as a drop-in replacement for the XS-based version, with API compatibility. Please use the documentation of Win32::Pipe.
METHODS
- new
-
Creates a new pipe object.
- Read
-
Reads data from the pipe.
- Write
-
Writes data to the pipe.
- Error
-
Returns the last error code.
- Close
-
Closes the named pipe.
- Connect
-
Create the instance and connects the named pipe.
- Disconnect
-
Disconnects the instance of the named pipe.
- BufferSize
-
Returns the current buffer size.
- ResizeBuffer
-
Resizes the internal buffer.
- Info
-
Returns a array with internal metadata.
- get_Win32_IPC_HANDLE
-
Returns the raw handle for IPC integration.
AUTHOR
J. Schneider <brickpool@cpan.org>
LICENSE
MIT License - see LICENSE file for full text. However, this library distributes and references code from other open source projects that have their own licenses.
CREDITS
Special thanks go to David Roth for creating Win32::Pipe