This section describes the architecture of the Sockets Server and the framework that implements sockets in Symbian platform.
The sockets are similar in concept to Berkeley Software Distribution (BSD) sockets from the University of California at Berkeley. The sockets provide a generic interface to network level communications protocols for common operations in network computing. Common operations are:
The Sockets Client API provides access to other network facilities. Examples of network facilities are:
A working knowledge of socket based communications is recommended in order to understand how Symbian platform implements sockets.
A knowledge of the selected protocol is also required if the application is going to set or get values specific to the protocol. For example, the knowledge is required to understand the data returned from RSocketServ::GetProtocolInfo() . The knowledge is also required if the application sets Quality of Service (QoS) values.
The Sockets Server starts when Symbian platform starts, and receives requests for socket based communications. If a request is received for a particular protocol, the Sockets Server loads the appropriate protocol modules to handle that request.
The Sockets Server provides a generic client interface, and a server to which particular protocol modules can be plugged in. A client uses a particular protocol by supplying protocol-specific parameters to Sockets API functions.
The TCP/IP API enables clients to use sockets for TCP/IP, including UDP, TCP, ICMP, IPv4, IPv6, ARP, and DNS.
The IrDA Sockets API enables clients to use sockets for IrDA infra-red.
The Bluetooth Sockets API enables clients to use sockets for Bluetooth.
The SMS PRT API provides the GSM SMS Protocol stack and the WAP protocol stack over SMS.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.