登录
首页 » Visual C++ » msocudp

msocudp

于 2012-09-05 发布 文件大小:97KB
0 311
下载积分: 1 下载次数: 2

代码说明:

  微软提供的UDP编程实例代码,实现了客户端向服务端发送数据的功能,服务器端接收并显示。(UDP programming example code provided by Microsoft client functionality to send data to the server, the server-side receiver and display.)

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

发表评论

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
  • SSgameRun
    :本系统属于小型的局域网监控系统,可以对某一台计算机进行屏幕监控,本系统主要实现以下功能:  系统采用人机交互的方式,界面美观友好。  屏幕信息需要时时显示,网络延时不能大于1秒。  服务器端可以随时运行,只要客户端运行,就能够显示屏幕信息。  系统运行时占用内存不能大于10MB,以免影响系统性能。  客户端运行时需要隐藏显示窗口,起其感觉不到在运行(network monitoring system that can carry out the screen of a computer monitor, the system achieve the following features:  system is the way human-computer interaction, interface, beautiful and friendly.  need to constantly display screen information, the network delay is not greater than 1 second.  server can be run at any time as long as the client runs, will be able to display information.  run-time memory for the system can not be larger than 10MB, so as not to affect system performance.  need to hide the client run-time display window, from its feel in the run.)
    2010-10-13 16:58:55下载
    积分:1
  • mzc1
    网络报告,可以快速修改使用,方便快捷!谢谢,使用!(Network report, you can quickly modify to use, quick and easy!)
    2013-12-25 12:50:36下载
    积分:1
  • NetPhone
    用VC开发的网络语音电话,希望对您的开发有所帮助。(VC network with the development of voice calls, and they hope to be helpful to your development.)
    2009-04-09 10:00:07下载
    积分:1
  • MY_QQ
    聊天界面,简易的聊天界面懂得更多,了解更多,沟通更多(Chat interface, a simple chat interface know more, learn more, communicate more)
    2013-07-17 22:34:50下载
    积分:1
  • PsV1
    Kylloguer Program FTP - MU
    2013-12-14 01:51:59下载
    积分:1
  • Microsoft.Press.Code.Complete.Second.Edition
    这是一本百科全书式的软件构建手册,强调提高软件质量的种种实践方法,不过这个是英文版的,中文版太大了,上传不了,有需要的请联系我(This is an encyclopedic handbook of software construction, with emphasis on increasing the variety of software quality practices. But this is the English version, the Chinese version too, can upload, it is necessary to please Contact)
    2007-05-08 09:42:09下载
    积分:1
  • CSharpchat
    网络编程chat聊天工具好东西啊,快来下载把(Network Programming)
    2013-07-02 16:04:49下载
    积分:1
  • resiveDlg
    c++聊天软件客户端代码,可以实现和双方互相聊天,必须客户端后启动(c++ chat software client code)
    2013-08-11 19:10:03下载
    积分:1
  • zppf
    招聘评分系统,适合用在企业招聘,现在招聘中!(Recruitment scoring system, suitable for use in corporate recruitment, recruitment now!)
    2009-01-14 14:49:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载