Service KSP

[Service]
:AllowLocal=1
Connect=proxy {wts:win-station-name}|{TS}||mem KSP|*

AllowLocal

The AllowLocal parameter controls the connection behaviour for the virtual channel when it is missing.

Values

0

Switch to local connection and reconnect virtual channel if re-established.

1

Switch to local connection and do not reconnect virtual channel.

Connect

The Connect parameter is used if the Listen parameter is missing.

Values

There are several protocols available for communication.

mem

Shared memory

usr

Shared memory in user mode

net

Network communication

ica

Citrix ICA protocol — virtual driver

wts

Microsoft WTS protocol — virtual channel

Example 1. Windows

The default protocol for Windows is shared memory using the components name.

[Service KSP]
Connect=mem KSP
Example 2. Linux/macOS

The default protocol for Linux and macOS is network using localhost and with a default port and component ID:

#define NETWORK_DEFAULT_PORT 26948

[Service KSP]
Connect=net localhost 26948

Some parameters are read from the Service section, but those values can also be specified in each section:

[Service KSP]
:ChannelOptions=0x34200000
:ChannelMaxTransmit=16384
:ChannelMemoryCount=16
:ChannelName=netid
:CommunicationDelay=
:Debug=0
:IdleCheck=60
:IdleTimeout=10080
:IdleTimeoutApp=
:LockMode=1
:MaxContexts=100
:MaxContextsApp=
:MaxTransmitFail=0
:MaxTransmitSize=131072
:MaxTransmitTime=3000
:MutexTimeout=0
:ProcessOnly=0
:ProtectAlgorithm=none
:SharedPrefix=Global\