Telnet 客户端 - Java

发布于 2024-12-03 02:30:37 字数 70 浏览 1 评论 0原文

我想用java写一个telnet客户端;我想知道我需要注意或实施哪些东西才能制作这样的应用程序。有什么我应该学习的特定课程吗?

I want to write a telnet client using java; I would like to know what stuff I need to look out for or implement to make such an application. Are there any particular classes that I should look in to?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

狼亦尘 2024-12-10 02:30:37

telnet 客户端只是与 telnet 服务器进行基于线路的通信。 涵盖了基础知识

您还需要哪些额外功能?

A telnet client is just line based communication with a telnet server. The basics is covered by

What extra features do you need?

寒尘 2024-12-10 02:30:37

Apache Commons Net 可能提供您需要的一切。您可能想在此处查看示例。

Apache Commons Net offers probably everything you need. You may want to have a look at an example here.

初相遇 2024-12-10 02:30:37

您需要查看十几个或更多涵盖 Telnet 协议及其各种选项的 RFC,整理出哪些是您真正需要的、哪些是历史性的、哪些只是从未实现的幻想等等。祝您好运。这是一项相当重要的研究。

或者按照其他人的建议进行操作并使用现有的实现。看一下 Java 终端适配器,我已经使用它很多年了,并取得了巨大的成功。

You need to look at a dozen or more RFCs covering the Telnet protocol and its various options, sorting out which of those you actually need, which are historical, which are just fantasies that were never implemented, etc etc etc. Good luck. It's quite a substantial piece of research.

Or do as the others have suggested and use an existing implementation. Have a look at the Java Terminal Adapter for one that I've been using with great success for several years now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文