This section describes the architecture of the Sockets Server and the framework that implements sockets in Symbian OS.
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:
establish a connection
send data
receive data
configure network protocols
The Sockets Client API provides access to other network facilities. Examples of network facilities are:
hostname resolution
service resolution
information about protocols
byte manipulation utilities
A working knowledge of socket based communications is recommended in order to understand how Symbian OS 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
The Sockets Server starts when Symbian OS 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.
Prior to Symbian OS 9.5, the Sockets Server would load protocol modules to provide protocol functionality. The protocol modules were known as PRT s. Each protocol module could contain several protocols (e.g. the TCP/IP PRT handled UDP, TCP, ICMP, IP (IPv4 and IPv6), and DNS). In Symbian OS 9.5 a new architecture was added as an alternative to the PRT architecture. This new architecture loads several plug-ins for each protocol.
In Symbian OS 9.5 all existing PRTs are included and used by the Communications Framework. In future, all PRTs may be replaced with plug-ins for the new architecture.
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:
+establish a connection
send data
receive data
configure network protocols
The Sockets Client API provides access to other network facilities. Examples +of network facilities are:
+hostname resolution
service resolution
information about protocols
byte manipulation utilities
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
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.