Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

OsclSocketServ Class Reference
[OSCL IO]

#include <oscl_socket.h>

Inheritance diagram for OsclSocketServ:

HeapBase _OsclHeapBase

Public Methods

OSCL_IMPORT_REF ~OsclSocketServ ()
OSCL_IMPORT_REF int32 Connect (uint32 aMessageSlots=8)
OSCL_IMPORT_REF void Close (bool aCleanup=true)

Static Public Methods

OSCL_IMPORT_REF OsclSocketServ * NewL (Oscl_DefAlloc &alloc)

Friends

class OsclTCPSocket
class OsclUDPSocket
class OsclDNS

Constructor & Destructor Documentation

OSCL_IMPORT_REF OsclSocketServ::~OsclSocketServ  
 

Destructor. The server object must be deleted using the same allocator used in the NewL call.


Member Function Documentation

OSCL_IMPORT_REF void OsclSocketServ::Close bool    aCleanup = true
 

Close socket server. This is a synchronous method.

Parameters:
aCleanup:  cleanup the socket system? the socket cleanup should only be done when all parts of the application are done using sockets.

OSCL_IMPORT_REF int32 OsclSocketServ::Connect uint32    aMessageSlots = 8
 

Connect to socket server. This is a synchronous method.

Parameters:
Number  of message slots.
Returns:
Returns OsclErrNone for success, or a platform-specific code.

OSCL_IMPORT_REF OsclSocketServ* OsclSocketServ::NewL Oscl_DefAlloc   alloc [static]
 

Create a socket server. May leave if failure.

Parameters:
alloc:  Memory allocator.
Returns:
Returns pointer to socket server


Friends And Related Function Documentation

friend class OsclDNS [friend]
 

friend class OsclTCPSocket [friend]
 

friend class OsclUDPSocket [friend]
 


The documentation for this class was generated from the following file:
OSCL API
Posting Version: OPENCORE_20090310