Android Question InitializeSSLAcceptAll

Kurt.McCullum

Member
Licensed User
I've got a quick question about SSL sockets. I am trying to connect to an imap server (imap.mail.yahoo.com) on port 993. I am able to connect but there is no response from the server and after a timeout period it disconnects.

MySocket.InitializeSSLAcceptAll("MySocket")
MySocket.Connect("imap.mail.yahoo.com",993,5000)

I receive a successful connection from MySocket_Connected, then I create the streams. but I never receive any data and I cannot verify if I am sending any.

Obviously I am doing something wrong but I'm at a loss to know what.

Standard network sockets without SSL work perfectly. 1.51 is the version of my Network library.

Kurt
 

Kurt.McCullum

Member
Licensed User
In doing more testing on this it appears that the SSL connection will work fine when I use a AsyncStreams rather than a separate InputStream and OutputStream. I'm not sure why it won't work with two separate streams.

Kurt
 
Upvote 0
Top