As I understand, Series 40 phones do not support socket connections, with the exception of 6800 and 6850 (are there others? does 3200 support sockets?).
The only connection method available is HttpConnection. Suppose that the underlying bearer is CSD. When using HttpConnection, does the URL get parsed, and a TCP connection (HTTP) is opened to the specified server OR does it go through the WAP gateway, using WSP to connect to gateway and passing the URL to the gateway which, in turn, accesses the specified website?
In this latter case (phone->WSP->gateway->HTTP->server), what happens if the response from the server is not WML? Does it get dropped by the server or does it get passed AS IS to the client (phone)?
Specifically, is there a way to access HTML pages through a WAP gateway?
More generally, is there a way to transfer binary data over HTTP through a WAP gateway (WSP-HTTP)?
In case, the answers are (as I suppose):
- HttpConnection connects through the WAP gateway
- you can only access WML, WMLScript, WBMP etc (but not HTML) through a WAP gateway
then how does the Nokia XHTML over WAP 1.2.1 stack browser (such as in the Nokia 3200) work? Does it use some kind of non-public API (native calls)?
Thanks for any info,
M.Sc. (in progress)
University of Toronto