Skip to content

Darkratos/PipeConnection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

PipeConnection

C++ class to make it easier to manage pipe connections.
The class will automatically create a thread to handle the incoming data.
Supports 2-way asynchronous communication as well (you will need a separate thread).

Example

To create a pipe, use the following:

cPipe* pipe = new cPipe;

if ( !pipe->create( "testpipe" ) )
{
	//handle error
}

To connect:

cPipe* pipe = new cPipe;

if ( !pipe->connect( "testpipe" ) )
{
	//handle error
}

Everything else you need to know is documented in the files.
Special thanks to lucass and iPower for helping me with this project.
Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages