Is there any for good Java lib for playing with Sockets connections?
Search for good Java lib for playing with Sockets connections - Is ther开发者_开发百科e any such lib or how to play with sockets from pure Java?
The Java Tutorial is the best place to start. You'll probably want the All About Sockets section. Then, of course, there's the JavaDoc for the java.net
package.
What kind of playing are you wanting to do with sockets? The java.net package (part of standard Java) contains several classes for dealing with sockets, most notably the Socket class.
You might want to try Apache MINA which is easier to start with. MINA provides a good abstraction level for working with sockets, here an example of a time server with a few lines of code using it.
You need to check Java Tutorial if you want fully understand Java approach though.
精彩评论