登录
首页 » Visual C++ » TCP

TCP

于 2012-12-28 发布 文件大小:26165KB
0 400
下载积分: 1 下载次数: 5

代码说明:

  基于流式套接字的TCP回射程序的客户端以及服务器(Retroreflective program based on the TCP stream socket)

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

发表评论

0 个回复

  • NetWork
    这个是关于网络工作室的源代码,主要是用于网络编程的初级参考,希望能给刚入网络编程的朋友提供帮助(This is a studio on the network)
    2007-09-03 18:27:40下载
    积分:1
  • UDP_Lost_test2
    这是一个测试UDP数据包的丢包率的程序,包含程序源码,已经验证成功(This is a test UDP packet loss rate of the program, including program source code, has been successfully verified)
    2013-12-30 11:10:56下载
    积分:1
  • IPIP
    获取局域网中计算机名和IP地址,运行程序后点击确定,等待界面消失,会生成一个Name_Iph.ini文件,记录了所有信息!(Access to the LAN computer name and IP address)
    2011-07-26 11:26:59下载
    积分:1
  • VB3
    本人上传vb源代码,希望对各位有所帮助,下载后可别忘了评论哦,谢谢,呵呵!
    2010-06-25 16:19:31下载
    积分:1
  • 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
  • HTTPGetPost_src1
    说明:  httppost的实现方法基于visualc++实现(httppost based on the method to achieve visualc)
    2006-04-22 21:50:55下载
    积分:1
  • UDPChattool
    这是用VB编辑的点对点通讯工具,只要双方拥有IP地址,就可以连接通讯.可以用于Internet,局域网等网络中.()
    2008-04-10 17:14:34下载
    积分:1
  • CommunicationEngineerNetWorkPractise
    通信工程师电信网络专业习题集 通信工程师电信网络专业习题集 通信工程师电信网络专业习题集(CommunicationEngineerNetWorkPractise CommunicationEngineerNetWorkPractise CommunicationEngineerNetWorkPractise)
    2014-01-12 15:39:38下载
    积分:1
  • GetHostNameIP
    一个有关获取主机名和IP地址的MFC程序,对于初学者来说很有帮助(For information about obtaining a host name and IP address of the MFC, very helpful for beginners)
    2013-08-22 10:58:23下载
    积分:1
  • LanTalk_sources
    Currently, most of people use MS DCOM/COM+, Java Bean/RMI, and Corba to do distributed computing over internet. All of these technologies are provided with some tools and intermediate objects to simplify internet development. However, these technologies have one common and fundamental problem that all of the calls between a client and a server are blocked for a returned result (please correct me if this is wrong). A client stays still, and has to wait for a while after sending a request to a server. If the request is a lengthy action, the client application seems to be dead to a user. In most cases, we could use a worker thread at the client side to do background computation for solving this problem. However, this comes with an expensive price, more coding, data synchronization and mess in coding logic. Additionally, I also doubt that these technologies are able to really move data across internet efficiently.
    2009-06-27 15:00:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载