Search for good Java lib for playing with Sockets connections - Is there any such lib or how to play with sockets from pure Java?
+1
A:
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.
Kip
2010-03-26 18:08:45
+4
A:
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.
Anon
2010-03-26 18:43:49
+1
A:
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.
victor hugo
2010-03-26 18:51:20
+1 for MINA, I'm using it (in fact, to make my Java interface to the ns-3 network simulator easier to use, I have implemented it, but only for UDP at the moment -- I'm working on TCP support)
Chris Dennett
2010-03-26 19:05:52