Table of Contents

Method Create

Namespace
Alternet.Scripter.Debugger.Dap.Connections
Assembly
Alternet.Scripter.Debugger.Dap.v9.dll

Create(Socket, PipeOptions, SocketConnectionOptions, string)

Create a SocketConnection instance over an existing socket

public static SocketConnection Create(Socket socket, PipeOptions pipeOptions = null, SocketConnectionOptions socketConnectionOptions = SocketConnectionOptions.None, string name = null)

Parameters

socket Socket
pipeOptions PipeOptions
socketConnectionOptions SocketConnectionOptions
name string

Returns

SocketConnection

Create(Socket, PipeOptions, PipeOptions, SocketConnectionOptions, string)

Create a SocketConnection instance over an existing socket

public static SocketConnection Create(Socket socket, PipeOptions sendPipeOptions, PipeOptions receivePipeOptions, SocketConnectionOptions socketConnectionOptions = SocketConnectionOptions.None, string name = null)

Parameters

socket Socket
sendPipeOptions PipeOptions
receivePipeOptions PipeOptions
socketConnectionOptions SocketConnectionOptions
name string

Returns

SocketConnection