⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 先用makefile编译,连接后,client发字符到server端并返回该字符串,遇到a,e,i,o,u则加*号,如*a,收到fin字符串则结束客户端及服务器端程序.实现echo功能
💻 TXT
字号:
the programe have completed all the component of the lab's requirement

for instance: it can communicate with two diffrent host, one client, and one server.

I use server1.c and client.c as the source file, and I can use the makefile command to compile, for example: make server, or make client

run:
server side:
./server

client side:
./client IPaddress Portnumber(for instance: ./client 196.192.100.5 3490)
and Portnumber is be set to 3490
introduction:
server receives a message from a client over TCP socket and
replies the same message back to the source with put some stars after every
vowel. For example, if a sever gets a message “Hello Jim” from a client, then the
star echo server sends back the message “He*llo* Ji*m” to the client.
The server program should be terminated if it gets “fin” message from a client
after it replies “fi*n” message to the client. and both server and client can be stop by "fin"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -