avatar
法国电信的测试题# Java - 爪哇娇娃
I*k
1
write a simple Java server that will support "telnet"-like connections.
There is no need to implement the client side as well since the classic "
telnet" application will be used for testing the server.
The server must support multiple concurrent connections and it will have to
respond to very basic commands like "ls", "cd", "mkdir". It also must be
portable across platforms.
The use of the Runtime class for invoking native commands in not allowed.
avatar
h*0
2
熟悉telnet协议的话就很容易。

to

【在 I***k 的大作中提到】
: write a simple Java server that will support "telnet"-like connections.
: There is no need to implement the client side as well since the classic "
: telnet" application will be used for testing the server.
: The server must support multiple concurrent connections and it will have to
: respond to very basic commands like "ls", "cd", "mkdir". It also must be
: portable across platforms.
: The use of the Runtime class for invoking native commands in not allowed.

avatar
I*k
3
我基本上做完了,但是还有一个问题:客户端传来的字符串里面要是有控制字符怎么处
理比较好?比如传过来backspace,或者上下左右这样的。

【在 h*****0 的大作中提到】
: 熟悉telnet协议的话就很容易。
:
: to

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。