登录
首页 » Visual C++ » ServerSocket

ServerSocket

于 2009-10-31 发布 文件大小:4039KB
0 124
下载积分: 1 下载次数: 10

代码说明:

  一个很好的winsock tcp/ucp示例,相信看了肯定收益颇丰(a good example for winsock about tcp/udp)

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

发表评论

0 个回复

  • timeoutsocket
    socket建立连接超时的控制 (Controlling socket when timeout)
    2021-04-15 14:08:54下载
    积分:1
  • ava-kuangjia
    ava 框架,以前找的,不知道现在能用不,需要的自己下载(ava kuangjia )
    2013-12-21 21:33:50下载
    积分:1
  • hosthook
    com写的网络ip地址挂起的程序(com write network ip address hang procedures)
    2004-12-07 09:35:00下载
    积分: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
  • P2P-UDP-NAT_2015-05-28-16-09-27
    NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。(The principle and implementation of UDP NAT through P2P )
    2015-05-28 16:10:00下载
    积分:1
  • uhort
    一个可以切分bin格式的图形文件的程序,推荐()
    2017-10-27 11:11:12下载
    积分:1
  • SipRecordServer
    在vc++下通过ip端口抓取数据包,获取音频数据进行处理(In vc++ crawl through the ip port packet)
    2013-11-07 16:26:26下载
    积分:1
  • 762365
    VC Database Books CD-ROMs Machinery Industry Publishing(VC Database Books CD - ROMs Machinery Industry Publishing)
    2017-07-21 23:08:20下载
    积分:1
  • NIDS
    网络入侵检测系统,各模块完整,可以实现简单的网络入侵检测(Network intrusion detection system, each module is complete, you can achieve a simple network intrusion detection)
    2021-03-29 20:39:10下载
    积分:1
  • TCPNet
    一个采用TCP协议的网络测试工具。采用VC6.0开发环境,具有客户端和服务器端,加入进来的客户端可以互相发送接受数据,对学习socket编程是不错的借鉴。(using a TCP network testing tools. VC6.0 use development environment with the client and server side, joined the client can accept each other this data, to learn socket programming is a good reference.)
    2020-11-14 16:19:43下载
    积分:1
  • 696524资源总数
  • 103827会员总数
  • 23今日下载