Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



How to write CProtocolFamilyBase::Install()

After the CProtocolFamilyBase-derived object has been created, the first function called by the socket server on that object is Install(). It is at this point that the CProtocolFamilyBase-derived object should perform any initialisation which it needs, especially the allocation of any memory it requires. It may be that there is nothing to do in the installation of the protocol family.

Directly after the socket server has called Install(), the ProtocolList() function is called to return a list of all the protocols in the protocol family.