Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail API: how to use nonblocking sockets for IMAP?  RSS feed

 
Bhiku Mhatre
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for any pointers for enabling me to write a non-blocking socket type of IMAP client.
What does JavaMail do? Can that be used for this purpose? Will that be blocking the calls over the connection.. if yes, what could be the workaround for making it non-blocking?
I'd like not to implement the IMAP client spec by myself, and reuse the one Sun provides with JavaMail.
Any help will be greatly appreciated!
thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!