O'Reilly logo

Windows® CE 3.0 Application Programming by Marshall Brain, Nick Grattan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

More Complex HTTP Requests Using a Session

The simple HTTP request described in previous sections allows resources to be downloaded. However, you will need more control when sending data to the server or making more complex requests. For example, you may want to specify usernames and passwords. This section describes how to open a request, to send headers, and to send data to the server.

The following calls are required in order to make HTTP requests:

  1. InternetOpen to initialize the Windows CE Internet functions and return a handle to access other Internet functions

  2. InternetConnect to make a connection to the Internet server and return a connection, or session, handle

  3. HttpOpenRequest to specify the URL (Universal Resource Locator) of the resource ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required