It's hard to know how to answer you without some more information. Is it the Java constructs you're not clear on? do you already understand Java pretty well but want more information about what this particular socket code is accomplishing? Are you familiar with sockets and what they do? [ March 31, 2007: Message edited by: Merrill Higginson ]
Originally posted by Steven Alvarez: I was just was wondering what is a ssl "factory"?
A "factory" is a sort of Design Pattern -- used to handle the creation of objects. This is needed because there may be some special handling that is needed in addition to just using the "new" operator.
Are you familiar with design patterns and in particular, the factory method design pattern? I'm just learning about them now and find them fascinating. A useful book if you are somewhat new to all this like me is the "Head First Design Patterns". The most famous and seminal book on this subject is "Design Patterns" by "the Gang of Four" (Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides).