登录
首页 » Visual C++ » lesson-14

lesson-14

于 2013-04-02 发布 文件大小:743KB
0 412
下载积分: 1 下载次数: 1

代码说明:

  孙鑫VC++教学课程lesson14:网络的相关知识,网络程序的编写,Socket是连接应用程序与网络驱动程序的桥梁,Socket在应用程序中创建,通过bind与驱动程序建立关系。此后,应用程序送给Socket的数据,由Socket交给驱动程序向网络上发送出去。计算机从网络上收到与该Socket绑定的IP+Port相关的数据后,由驱动程序交给Socket,应用程序便可从该Socket中提取接收到的数据。网络应用程序就是这样通过socket进行数据的发送与接收的。TCP与UDP的工作原理与编写过程,如何在程序中链接库文件。一个字符界面的聊天程序。(Sun Xin VC++ tutorial lesson14: the knowledge of the network, network program, Socket is connected applications and network drivers bridges, Socket application to create, build relationships bind driver. Thereafter, the data of the application to give socket, by the Socket handed driver and sent out on the network. After binding with the Socket IP+Port related data is received by the computer from the network, by the driver to the socket, the application can extract the data received from the Socket. Network application is sending and receiving data through the socket. TCP and UDP works and the writing process, how to link library files in the program. A character interface chat program.)

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

发表评论

0 个回复

  • UDP_chat
    利用udp包实现聊天。利用udp包实现聊天。(use udp packet to realize chat over net.)
    2010-09-24 23:56:31下载
    积分:1
  • 局域网内聊天传输文件
    局域网内聊天传输文件.rar 1、可以进行群聊。 2、点中名字前的复选框要以说消消话。 3、可以群发文件,可以发给指定的人(选中复选框),也可以发给所有人。(LAN chatting to transfer files. Rar one can communicate with a group. 2, points name before the check box to say Consumers Consumers then. 3, the mass document can be sent to the designated person (selected check box), also be given to all.)
    2005-07-01 19:25:21下载
    积分:1
  • hebing-txt
    当遇到网上下载的很多歌txt文件电子书,或程序生成的多个txt,可根据文件名合并成一个,自己写的,大方分享(Txt file, e-book experience online download many songs, or program generated txt, based on the file name to be merged into one, write your own, and generous sharing)
    2012-12-03 14:47:15下载
    积分:1
  • IOCPScalableServer
    该代码展示了如何利用完成端口配合异步I/O开发可扩展服务端。(The code demonstrates how to complete port with the use of asynchronous I/O can be expanded development of the server.)
    2007-06-19 17:55:21下载
    积分:1
  • RemoteControl
    远程桌面控制的完整实现源码,设计文件在http://blog.csdn.net/dijkstar/article/details/9076911有详细描述,里面整合了位图压缩、鼠标键盘低级钩子等。里面的每项技术都具有工程参考价值。(Complete implementation of the remote control code, design documents described in detail in http://blog.csdn.net/dijkstar/article/details/9076911, which integrates bitmap compression, low-level mouse and keyboard hooks and so on. Inside each technology with engineering reference value.)
    2020-11-02 14:29:53下载
    积分:1
  • 1
    说明:  代理服务器,还不完善,总丢数据,个人没有能力改了,有需要的朋友参考一下吧(Proxy server, not perfect, the total lost data, individuals can not afford to change, and a friend in need reference it)
    2010-09-08 17:59:29下载
    积分:1
  • CS
    说明:  客户机/服务器模式(Client/Server model)。该模式的建立基于以下两点:1、网络上主机的非对等作用;2、通信完全是异步的。()
    2008-07-06 10:36:51下载
    积分:1
  • shortest-path
    通信网络的架设问题 若要在n(≥10)个城市之间建设通信网络,只需要架设n-1条线路即可(With the Dijksra algorithm to network G from source points to the rest of the vertices of the shortest path)
    2014-01-11 23:32:27下载
    积分:1
  • SendFileClient
    VC++实现类似于QQ文件传输功能的文件发送与接收程序示例,分为服务端和客户端,客户端首次接收数据,将判断文件包大小,数据包中一定包含完整的数据包结构信息,数据不一定完整;读取数据包的大小,包含数据包结构大小和数据大小,之前接收的数据与现在接收的数据能够构成至少一个完整的数据包,文件接收完毕则设置结束标记,若终止的连接,则弹出窗口告诉用户,对方终止了文件传送。   服务端程序是比较简单的,基本是复制文件数据、判断文件是否传递成功、等待对方收受发送任务或取消发送任务,分包继续发送文件等功能(VC++ implementation is similar to QQ file transfer capabilities to send and receive files program examples, divided into server and client, the client receives the first data packet to determine the file size, the packet must contain the complete information packet structure, the data is not must complete reading packet size, including the size and structure of the data packet size, and previously received data received data can now constitute at least one complete packet, the file has been received then set the mark, if the connection is terminated, the pop-up window telling the user, the other party to terminate the file transfer. Server program is relatively simple, basically copying the file data, to determine whether the file transfer is successful, waiting for the other to accept or cancel the sending task sends tasks, subcontractors continue to send files and other functions )
    2014-06-03 13:50:03下载
    积分:1
  • InstantMessaging
    简单的网络聊天文件传输程序 可以 0.普通聊天(文字、图片) 1.聊天室 2.传输文件(断点续传) 3.共享屏幕 4.白板 5.视频、音频聊天(Simple network chat file transfer program can 0. General chat (text, images) a chatroom 2. Transfer files (HTTP) 3. Shared screen 4. Whiteboard 5 video and audio chat)
    2013-08-26 22:14:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载