Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: c32comm.h
Link against: c32.lib

Struct TCommServerConfigV01

TCommServerConfigV01

Support

Supported from 5.0

Description

Holds the buffer configuration settings for the comms server.

The comms server copies data, between the descriptors provided by the client and the buffers used by the serial port drivers, for each read and write request. There are two methods by which this can be accomplished. Full buffering means that the comms server will always attempt to allocate enough memory to satisfy any reads or writes in a single copy, while partial buffering means that the comms server will allocate a static buffer and use partial copies to transfer data to the serial driver. When a port is opened, the default is full buffering.

Defined in TCommServerConfigV01:
iBufFlags, iBufSize


Public member data


iBufFlags

TUint    iBufFlags

Description

Buffering option: either KCommBufferFull or KCommBufferPartial


iBufSize

TUint    iBufSize

Description

Size of server buffer if partial buffering is being used