登录
首页 » Visual C++ » 01liaotianshi

01liaotianshi

于 2013-05-31 发布 文件大小:8272KB
0 321
下载积分: 1 下载次数: 1

代码说明:

  第1章实例01-简单网络聊天室.zip(Chapter 1 Examples 01- Simple network chat rooms. Zip)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • client-server
    多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。 首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。 程序实现的关键步骤: 以TCP协议为例 服务器端: 1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。 客户端: 1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。 (Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate. First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission. The key step program implementation: In TCP protocol as an example Service-Terminal: 1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response. Clients: 1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
    2016-07-11 10:19:07下载
    积分:1
  • qks
    When I wrote this function my problem was to replace one color by an other on transparent bitmaps My
    2018-09-29 15:06:30下载
    积分:1
  • iperf_win
    Iperf windows版,新手学习用,相当不错.(Iperf windows version, novices to learn, is quite good.)
    2013-04-15 15:31:26下载
    积分:1
  • clock
    一款值得一试的还哦让姸 真的很不错呢 下载就能获取那啥了(一款牛b的不行的软件 你会佩服的 相信你 哈哈)
    2014-07-05 23:22:38下载
    积分:1
  • GetMACAddress
    应用程序向导使用“TODO:” 来指示 应添加或自定义的源代码部分。 如果应用程序在共享 DLL 中使用 MFC,且应用程序使用的语言不是 操作系统的当前语言,则需要从 Microsoft Visual C++ 光盘上 WinSystem 目录下将相应的本地化资源 MFC70XXX.DLL 复制到计算机的 system 或 system32 目录下, 并将其重命名为 MFCLOC.DLL。 (“XXX”代表 语言缩写。 例如,MFC70DEU.DLL 包含翻译成 德语的资源。) 如果不这样做,应用程序的某些 UI 元素 将保留为操作系统的语言。">
    2008-03-20 00:39:18下载
    积分:1
  • kmeans_wsn
    无线传感器网络中使用kmeans算法对网络节点进行分簇(wsn kmeans)
    2020-12-07 22:19:20下载
    积分:1
  • SYNFLOOD
    syn ddos flood 工具源代码(syn ddos flood source code)
    2017-04-01 18:28:22下载
    积分:1
  • XproerV3.0.107_51aspx
    XproerBBS开源项目是新手学习不可多得的资料,在项目中使用了许多目前比较流行的技术。 (1)如何使用ADO.NET, (Green hand XproerBBS open-source projects are hard to come by studying the information used in the project is currently much more popular technology. (1) how to use ADO.NET,)
    2009-03-26 09:56:24下载
    积分:1
  • DownLoad
    基于HTTP协议的支持断点续传的下载软件源码(HTTP protocol support for HTTP-based download software source)
    2013-03-27 16:54:24下载
    积分:1
  • VB-Winsock-HTTP-POST-GET
    Visual Basic 2010通过 Get Post方法对网页进行提交(vb.net Get Post submit pages)
    2013-06-28 15:19:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载