server端
https://gist.github.com/javaangelina/ff67d4116cc2b0950eff8d12e202d705
client端
https://gist.github.com/javaangelina/1ceef4924846aa5172a61c12fe175a4e
我想做出来的效果是client在console端,
system.in一些数字,
丢回给server进行一些逻辑判断.
server接收完client的资料后,
进行逻辑判断从server丢回client,
但是很奇怪的是我已经建立连线了
在client的console输入资讯后,
就没有其他显示结果了
检查了之后也觉得逻辑上没有错
请高手指点囉,先感谢大家:)