java实现BIO服务器端网络编程(在springboot中使用)
创建一个类BIOServer
@Component
public class BioServer {
@Autowired
AsyncService asyncService;
public ServerSocket serverSocket = null;
public void BioServerListen() throws IOException {
try{
serverSocket = new ServerSoc.
原创
2021-03-30 13:52:19 ·
504 阅读 ·
0 评论