socket
共 3 篇文章
lixiang 关于socket的spring例子
https://github.com/spring-projects/spring-integration-samples
java socket的总结 包含了7层 5层协议
ISO七层模型 tcp/ip五层模型 http://www.cnblogs.com/itfly8/p/5844803.html 消息量小采用什么无所谓了;如果量较大建议采用socket长连接+心跳机制; 自己定义消息包:消息头+消息体; 用非阻塞方式实现,也可以使用框架mina或者cindy进行快速开发,不过你需要一定的时间来熟悉这两个框架
2017-10-18 16:20 · socket
使用log4j的socket功能
java -classpath log4j.jar org.apache.log4j.net.SimpleSocketServer 4712 log4j-server.properties The SimpleSocketServer receives logging events sent to the specified port number by the remote SocketAppender, and logs them as if they were generated locally, according to the configuration you supply in…