Unix Echo服务器和客户端(C语言)

  • b3_538280
    了解作者
  • 180.6KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-07 11:07
    上传日期
有两个版本(C语言,内有完整的说明文档): 1.实现客户端发一句,服务器返回一个 2.客户端一次连接可以发送多句(每句就是一个package),服务器返回最初的5句(不足5句,就返回所有的)
TCPEchoServerAndClient.zip
  • TCPEchoServerAndClient
  • TCPEcho
  • DieWithMessage.c
    282B
  • TCPEchoServer.c
    3.4KB
  • makefile
    587B
  • Practical.h
    125B
  • TCPEchoClient.c
    3.4KB
  • ReadMe
    950B
  • sample_output.pdf
    176.6KB
  • TCPEchoEnhanced
  • DieWithMessage.c
    282B
  • TCPEchoEnhancedServer.c
    3.9KB
  • TCPEchoEnhancedClient.c
    5.2KB
  • makefile
    746B
  • Practical.h
    176B
  • ReadMe
    1.2KB
  • ReadMe
    96B
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="generator" content="pdf2htmlEX"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/css/base.min.css"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/css/fancy.min.css"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/5061919/raw.css"><script src="https://csdnimg.cn/release/download_crawler_static/js/compatibility.min.js"></script><script src="https://csdnimg.cn/release/download_crawler_static/js/pdf2htmlEX.min.js"></script><script>try{pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});}catch(e){}</script><title></title></head><body><div id="sidebar" style="display: none"><div id="outline"></div></div><div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://csdnimg.cn/release/download_crawler_static/5061919/bg1.jpg"><div class="c x0 y1 w0 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">Run Makefile</div><div class="t m0 x2 h3 y3 ff1 fs0 fc0 sc0 ls0 ws0">TCP<span class="_ _0"></span> Echo Server and Client</div><div class="t m0 x3 h4 y4 ff1 fs1 fc0 sc0 ls0 ws0">1.<span class="_ _1"> </span>Server and Client are on the same Unix computer<span class="_ _0"></span>.</div><div class="t m0 x4 h4 y5 ff1 fs1 fc0 sc0 ls0 ws0"> </div><div class="t m0 x5 h4 y6 ff1 fs1 fc0 sc0 ls0 ws0">It works!</div></div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div></body></html>
评论
    相关推荐