Header Sep
Symbian OS Tips, Tricks & Code
My Rating Score
Login to rate page

November 2003
How to Make an HTTP Connection Using TCP/IP with RSocket

[Back]

The TcpEx sample application demonstrates how to make an HTTP connection using a TCP/IP with RSocket interface. This will retrieve a Web page the hard way by resolving the IP address of a server, constructing an HTTP request, sending it to the server, and then receiving the response. The example application is covered in detail in the "Comms and Telephony Programming for the Sony Ericsson P800/P900" training material.

The sample code will show you how to:

  • Open a socket and resolve the host name
  • Perform the GET operation
  • Display the HTTP GET status and data to the user

Download TcpEx example code>>

 
My Rating Score
Login to rate page