Maybe you just have to write it yourself then ;-) If you use OpenSSL (I don't know if there is a port for Palm OS), best way to support async sockets would be to use BIO Pairs (1 BIO inner, 1 outer, 1 as Buffer between these two "in the middle"). As example I point you to the Filezilla project at Sourceforge (basically in AsyncSslSocketLayer.cpp).
It is tricky but possible. You have to know the basic rules how things work in OpenSSL before you can start with the above thing. Excerpt from a OpenSSL mailing list: "1) When data is received from the socket, you give the encrypted it to OpenSSL. 2) When OpenSSL wants to send encrypted data, you send it over the socket. 3) When your application wants to send data, you give the decrypted data toOpenSSL. 4) When OpenSSL has decrypted data to give your application, you get it from OpenSSL and pass it on. So long as you think of these four things as independent and don't assume that data received over the socket will result in application data, you'll" be fine." Here is another documentation including source. http://www.jetbyte.com/portfolio-showarticle.asp?articleId=48&catId=1&subcatId=2 Good luck. Benjamin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
