登录
首页 » Visual C++ » socket

socket

于 2011-04-29 发布 文件大小:42KB
0 368
下载积分: 1 下载次数: 5

代码说明:

  socket编程实现服务端与客户端互发消息(exchange message between server and client)

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

发表评论

0 个回复

  • 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
  • ping
    基于ping的源代码,实现原始套接字编程(Ping-based source code, to achieve the raw socket programming)
    2011-07-10 10:18:44下载
    积分:1
  • NASTester_14
    nat tester ............................................
    2013-02-12 13:14:41下载
    积分:1
  • sf(V2.5)
    说明:  封包程序 用与特种部队的 封包发送功能 及其他的一些功能 (Packet with the special procedures of the packets used to send function and other functions)
    2009-08-13 07:37:31下载
    积分:1
  • WiseSocket
    简化Sock连接。采用队列保存Sock的收发消息包,保证消息的处理顺序。(Simplify the Sock connection)
    2012-05-28 11:19:06下载
    积分:1
  • rxjh
    热血江湖服务端C++源代码vs8应用程序向导已为您创建了这个 GameServer 应用程序。 此文件包含组成 GameServer 应用程序 的每个文件的内容摘要。 (RXJH_source)
    2009-05-18 00:25:08下载
    积分:1
  • st_asio_wrapper
    它是一个c/s网络编程框架,基于对boost.asio的包装(最低在boost-1.49.0上调试过),目的是快速的构建一个c/s系统;效率高、跨平台、完全异步,当然这是从boost.asio继承而来; 自动重连,数据透明传输,自动解决分包粘包问题(这一特性表现得与udp一样); 只支持tcp和udp协议;(It is a c/s network programming framework, based on boost.asio package (minimum tried to increase the boost-1.49.0), the purpose is to build a fast c/s systems efficient, cross-platform, fully asynchronous, Of course, this is from boost.asio inherited Auto-reconnect, transparent data transmission, automatic sub-stick package to solve the problem (this feature behave the same with udp) Only supports tcp and udp protocol )
    2013-08-22 10:10:54下载
    积分:1
  • QosSvr
    简易TCP通讯服务器端,QosClt为客户端。多个客户端间的通讯需要基于服务器,即通过服务器转发。(Simple TCP communication server, QosClt for the client. Communication between multiple clients need a server-based, that is transmitted through the server.)
    2013-09-09 13:50:32下载
    积分: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
  • ISP_pc_14y1231b
    透過 Socket 擷取影像,並進行 OpenCV MOG2 計算(Capture images through Socket, and OpenCV MOG2 computing)
    2014-12-31 16:51:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载