开发者

Is there any for good Java lib for playing with Sockets connections?

开发者 https://www.devze.com 2022-12-24 23:52 出处:网络
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 pr

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消