-
telnet服务器的实现:
1.客户端通过telnet连接后,服务器返回系统的一些信息(自己定义,至少应该包括程序作者的学号),之后显示提示符"login:...
telnet服务器的实现:
1.客户端通过telnet连接后,服务器返回系统的一些信息(自己定义,至少应该包括程序作者的学号),之后显示提示符"login:"提示用户输入用户名进行登录
2.要求对用户名和密码进行验证。用户名和密码均为学号的后3位。如果用户名和密码错误则返回invalid user or passwd并提示重新输入
3.服务器端至少支持如下命令(命令不带参数)
author:返回程序作者的相关信息
date:返回服务器的当前日期,日期的格式自己定义,但在help中做出说明
time:返回服务器的当前时间,时间的格式自己定义,但在help中做出说明
help:返回服务器所支持的命令
bye:与服务器断开连接
若输入了不支持的命令,则应回显相应的提示,如提示用户键入help来查看相应的命令
提示:服务器端有一个接收客户端输入字符的缓冲区,逐个字符进行接收;当发现是回车键后,即执行已接收字符对应的命令并回显.另外,telnet.exe是windows下自带的程序
设计的要求如下:
1.使用基本的套接口函数进行开发,即使用socket()、bind()、listen()、accept()等
2.不使用图形界面,只要能用文本显示相关信息即可,另外,需要把这些相关信息写入到一日志文件中(文件名为:学号.txt)
内附程序说明书
- 2023-06-24 06:30:03下载
- 积分:1
-
Telnet服务器源代码,很有用的!!
telnet服务器的源代码,很有参考价值-telnet server source code was useful! !
- 2022-04-01 14:31:27下载
- 积分:1
-
Telnet服务器源代码(希望大家共享)
Telnet服务器源代码(希望大家共享)-Telnet server source code (I hope the U.S. share)
- 2023-05-22 17:10:02下载
- 积分:1
-
telnet服务器与客户机,实现一个在线游戏工具。
telnet服务器与客户机,实现一个在线游戏工具。-telnet server and client to achieve an online game tools.
- 2022-03-13 22:49:18下载
- 积分:1
-
实现了Telnet服务器的源代码,非常全,可直接作为Microsoft基础类库使用。...
实现了Telnet服务器的源代码,非常全,可直接作为Microsoft基础类库使用。-achieve a Telnet server source code, all very direct, as the use of Microsoft Foundation Class Library.
- 2022-04-19 03:20:31下载
- 积分:1
-
pk11的测试代码。测试范围,可以包括所有pk11的接口。
pk11的测试代码。测试范围,可以包括所有pk11的接口。-pk11 test code. Tests, including all pk11 interface.
- 2022-03-26 19:37:31下载
- 积分:1
-
超级Internet开发组件demo。
超级Internet开发组件demo。-Super Internet development component demo.
- 2022-01-28 15:35:58下载
- 积分:1
-
此文件在网页中应用一个函数,使网页定时刷新
此文件在网页中应用一个函数,使网页定时刷新-this document in a web application function, regularly updated website
- 2022-05-01 00:13:45下载
- 积分:1
-
管理I/O完成端口(IOCP)是.NET类库命名部分声波的…
Managed I/O Completion Ports (IOCP) is part of a .NET class library named Sonic.Net, which I first released on CodeProject in May 2005. Sonic.Net is a free open source class library that can be used in building highly scalable server side .NET pplications. This part-2 of Managed IOCP builds on top of my first Managed IOCP article. So it is a pre-requisite to read the first part of Managed IOCP before -Managed I/O Completion Ports (IOCP) is par t of a.NET class library named Sonic.Net, which I first released in May on CodeProject 200 5. Sonic.Net is a free open source class library that can be used in building highly scalable ser ver side.NET pplications. This part-2 of Manag ed IOCP builds on top of my first art Managed IOCP icle. So it is a pre-requisite to read the first p art of Managed IOCP before
- 2022-02-02 03:33:23下载
- 积分:1
-
一个聊天室 可以多人聊天 也可以一人聊天 他是原创作品
一个聊天室 可以多人聊天 也可以一人聊天 他是原创作品-a chat room can also chat more than a talk he is the original works
- 2022-03-23 22:36:56下载
- 积分:1