Winsock Secure Sockets

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Windows Mobile supports the Private Communication Technology protocol 1.0 and Secure Sockets Layer (SSL) versions 2.0 and 3.0 security protocols. These protocols are available either through WinInet or directly from Winsock. Adding a security infrastructure to an application using these Winsock extensions requires few changes to an application. Once a secure socket is connected, the application may send and receive data on that socket unaware that the data over the wire is encoded.

SSL does not support the following Winsock functionality:

  • Scatter/gather I/O: WSASend and WSARecv should be passed one buffer instead of an array of buffers.
  • Overlapped I/O.
  • Non-blocking I/O.
  • Calls to the accept function.

In This Section

Implementing a Secure Socket

Using a Deferred Handshake

Certificate Authentication

See Also

Concepts

Winsock Overlapped I/O and Event Objects