SDK Home Glossary Index Left Right Up

Introduction to CSocket OPX


Chapter Contents


Overview

The CSocket OPX is a thin interface layer which allows the creation and manipulation of objects that are defined by the C++ classes which allow access to "sockets". This should allow OPL programmer to make network capable programs.


Status

This is the first official release of the OPX. Prior to this the OPX was available in it's development version and has therefore had most problems have hopefully been identified and fixed.

Some of the documentation has yet to be completed. Incompleted section are marked <TBS>. Developers who have access to the C++ SDK should find the Sockets API chapter useful.


Naming conventions

The names of the routines have been taken from the names of the methods in the C++ classes on which they are derived.

The names for routines which create (constructors) an object of type Class are of the form NewClass.

The name of the routine which destroys an objects of type Class is of the form DeleteClass.

The name of routines which perform actions on an objects of type Class is of the form ClassRoutineName.


Creating and using objects

In order to create an object the relevant NewClass routine is called and a reference to the created object is returned.

this& = NewClass&:

The returned value is then passed as the first parameter to all subsequent routines used to manipulate the object.

ClassMethod:(this&,....)

Before the program terminates the object must be destroyed by calling the DeleteClass routine.

DeleteClass:(this&)

Source of information

Much of the information and text used in the production and documentation of this OPX was obtained from the EPOC32 C++ SDK. An evaluation version of the EPOC32 C++ SDK can be found on the Symbian web site.


  SDK Home Glossary Index Left Right Up