This updated example is a Sockets reference implementation of an enterprise system that includes mobile clients for the S60 and Series 80 platforms (in Symbian C++), a server-based database, and Web portals (PHP and JSP implementations). Documentation is included in the package. In the updated version. For more details, click on this link : Symbian OS End-to-End Sockets API Example
Click on the following link to download the example: Symbian_OS_End-to-End_Sockets_API_Example.zip
Click browse to view the example code.