问题
What are the preferred platforms to implement TCP socket communication?
I'm interested in:
- scripting languages (eg Swocket for Python)
- and runtimes (eg .NET / Java).
回答1:
In Java, we use Apache Mina,
http://mina.apache.org/
Its performance rivals C implementation.
回答2:
Socket communication implemented using Java NIO might be a good method. Some of Java based web servers use it. I remember jetty using it. Here is a link from Sun.
来源:https://stackoverflow.com/questions/1422929/socket-communication