登录
首页 » Visual C++ » socket

socket

于 2013-09-16 发布 文件大小:2757KB
0 295
下载积分: 1 下载次数: 1

代码说明:

  这是一个简单的socket编程例子,非常适合刚接触socket编程者。程序简单、可用、易于理解。是个很好的socket范例。(A simple socket programming examples. Suitable for beginners. Program is simple, available, easy to understand. Is a good example of socket programming.)

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

发表评论

0 个回复

  • fx
    说明:  以网络通讯为基础,客户端输入指令,得到反馈,在客户端和服务器端显示opengl模型,并控制模型的运动(base on the communication of network,client type the key ,the sever respond at the same time client and the sever show the live result on the screen.)
    2011-05-04 17:04:09下载
    积分:1
  • Chat
    实现点对点发送文本聊天,P2P基于套接字发送和接收文本(Realize the point-to-point send text chat, P2P based on SOCKET to send and receive text)
    2013-05-31 08:30:11下载
    积分:1
  • AutoUpData
    本例为魔兽世界客户端自动更新程序,采用URLDownloadToFile异步机制实现.(World of Warcraft in this case the client automatically update procedure for the asynchronous mechanism URLDownloadToFile achieved.)
    2010-02-25 17:00:59下载
    积分:1
  • VC-OPC-client
    说明:  基于VC的OPC客户端软件研究与实现.......(The OPC-based VC research and implementation of client software ....... )
    2011-04-16 11:52:41下载
    积分:1
  • sniffer
    说明:  VC++编程实现网络嗅探器 简单 但是完整可运行。比较基础(VC++ programming for network sniffer)
    2011-03-11 09:47:09下载
    积分:1
  • Network-transmission-
    Network transmission
    2013-01-24 02:37:33下载
    积分:1
  • WinSockUDP
    VC UDP通讯,后台服务器 FileMana.cpp FileMana.h Login.cpp Login.h resource.h SocketUdp.cpp SocketUdp.h StdAfx.cpp StdAfx.h WinSockUDP.aps WinSockUDP.clw WinSockUDP.cpp WinSockUDP.dsp WinSockUDP.dsw WinSockUDP.h WinSockUDP.ncb WinSockUDP.opt WinSockUDP.plg WinSockUDP.rc WinSockUDP.sln WinSockUDP.vcproj WinSockUDP.vcproj.T400-CKX.Administrator.user WinSockUDPDlg.cpp WinSockUDPDlg.h( FileMana.cpp FileMana.h Login.cpp Login.h resource.h SocketUdp.cpp SocketUdp.h StdAfx.cpp StdAfx.h WinSockUDP.aps WinSockUDP.clw WinSockUDP.cpp WinSockUDP.dsp WinSockUDP.dsw WinSockUDP.h WinSockUDP.ncb WinSockUDP.opt WinSockUDP.plg WinSockUDP.rc WinSockUDP.sln WinSockUDP.vcproj WinSockUDP.vcproj.T400-CKX.Administrator.user WinSockUDPDlg.cpp WinSockUDPDlg.h)
    2012-05-24 14:41:07下载
    积分: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
  • testnet
    raw socket编程,探测网络包。 vc++, win2000测试通过。(raw socket programming, detect network packets. vc++, win2000 test passed.)
    2012-11-28 16:31:24下载
    积分:1
  • BluetoothClientServer
    BLUETOOTH VC++ CLIENT SERVER
    2012-12-17 18:49:08下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载