Simon Fell > Its just code > SSL on PocketPC 2003

Wednesday, November 26, 2003

Under PocketPC2000/2002 the following call for SO_SSL_PERFORM_HANDSHAKE works fine.

WSAIoctl( s, SO_SSL_PERFORM_HANDSHAKE, 0, 0, 0, 0, 0, NULL, NULL );

Under PocketPC 2003 this fails, and WSAGetLastError() returns a rather bogus -1, looking at the CE.NET 4.2 docs, it now states that we need to pass in the server name, but no where can i find how exactly we are supposed to do this.

I've tried passing both an ANSI string and a UNICODE string of the server name as the input buffer, but that continues to return exactly the same thing. How does this work on PocketPC 2003 ?