FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmspm classes

macro SPM_SET_SECURITY

^ 
Bidirectional, set security options.

Declares the security options to be applied by the receiving side. Any side can initiate security on socket. After sending this message, socket will apply immediately this parameters to all write operations. When this message received, another side should apply this parameters to all read operations or disconnect, otherwise it will not understand subsequent data.

Source:
../fmspm/clntmsg.h:78
Author:
unascribed
Version:
unknown
Params:
lParam1 SPMsocket::Digest
lParam2 SPMsocket::Cipher
lParam3 SPMsocket::CipherMode
lParam4 cipher key length (for fixed-size keys this parameter will be ignored)
lParam4 SPMsocket::CipherPadding
Code:
public define SPM_SET_SECURITY 0x6

(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net