Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::NamedPipeClient Struct Reference

Named pipe client endpoint creator. More...

#include <File.h>

Static Public Member Functions

static Result connect (StringSpan name, PipeDescriptor &outConnection, NamedPipeClientOptions options={})
 Connects to an existing named pipe server endpoint.
 

Detailed Description

Named pipe client endpoint creator.

Member Function Documentation

◆ connect()

static Result SC::NamedPipeClient::connect ( StringSpan name,
PipeDescriptor & outConnection,
NamedPipeClientOptions options = {} )
static

Connects to an existing named pipe server endpoint.

Parameters
namePlatform-native absolute endpoint name. Use filesystem absolute paths on POSIX and \\.\pipe\... or \\?\pipe\... on Windows. See SC::NamedPipeName::build for a cross-platform helper.
[out]outConnectionConnected read/write pipe handles.
optionsClient connection options.
Returns
Valid Result on success.

The documentation for this struct was generated from the following file: