2) Connect to the Symbian OS wap server
RWAPServ server;
User::LeaveIfError(server.Connect());
3) Initialize a connection to the wap gateway
RWSPCOConn connection;
// host contains the IP address of the wap gw
User::LeaveIfError(connection.Open(server, host, 9201, 0, EIP, EFalse));
4) Connect the connection
User::LeaveIfError(connection.Connect(clientHeaders, 0));
5) Create a transaction (the actual HTTP request equivalent?)
RWSPCOTrans transaction;
User::LeaveIfError(connection.CreateTransaction(
RWAPConn::EGet, uri, clientHeaders,
KNullDesC8, transaction));
Am I doing things right and in right order? When running on real hw, I get the connection point selection dialog, after which the GPRS connection gets opened and WAP GW reports a connection. But! The connection gets disconnected right away.