【发布时间】:2020-02-26 17:11:49
【问题描述】:
https://github.com/CatalinPrata/funcodetuts/tree/master/JavaTCPServer/src/ro/kazy/tcp
我如何通过使用 putty(或 android 客户端)连接到服务器来使用线程/多个客户端。如何返回连接的用户?
【问题讨论】:
https://github.com/CatalinPrata/funcodetuts/tree/master/JavaTCPServer/src/ro/kazy/tcp
我如何通过使用 putty(或 android 客户端)连接到服务器来使用线程/多个客户端。如何返回连接的用户?
【问题讨论】:
while (running) {
System.out.println(getuser(socket));
}
这样的事情只有用户被添加到 UserManager 线程和类(..)中,并且该类有很多对象 + 接口。是的..什么是接口?是的.. 我会了解如何使用不同的用户管理器。
【讨论】: