-
the4th
利用socket实现简单文件传输,mfc实现,很简单(Simple file transfer using socket, mfc achieve)
- 2013-10-20 15:37:24下载
- 积分:1
-
DDOS-scr
提供了各种拒绝服务攻击方式的算法,封装成了各种函数,调用很方便。(Offers a variety of denial of service attack algorithm, the package into various functions, call it convenient.)
- 2011-06-08 16:53:15下载
- 积分:1
-
netspeedspyer
Windows的网络流量速度检测。使用MFC作为开发平台。(A net speed spyer using MFC platform .)
- 2012-02-21 15:20:48下载
- 积分:1
-
UdpClient
用Visual C++编写的UDP客户端程序。(Using Visual C++ Prepared UDP client program.)
- 2007-07-17 10:16:03下载
- 积分:1
-
Secret_hacker_disassembly
黑客反汇编揭秘................(Secret_hacker_disassembly
)
- 2010-11-03 14:43:55下载
- 积分:1
-
csexamsys
SOCKET网络编程实例,讲解细致,适合C/C++开发人员学习(SOCKET network programming, detailed explanations, suitable for C/C++ developers to learn)
- 2011-08-01 22:59:36下载
- 积分:1
-
ad_wall
广告墙纸.本程序包含一个发布端(把端纸发布到sql server中),客户端会自动读取墙纸,并设置为本机墙纸,还可设置图标排列方式.
目前做为机房的文告发布使用.(Advertising wallpaper. This program includes a release end (the end of the paper posted to the sql server), the client will automatically read the wallpaper, and set native wallpaper, icons arrangement can be set now to use as a room of the statement released .)
- 2011-11-12 09:18:41下载
- 积分:1
-
Cpp1108
程序时用循环进行一些数据的输入输出 以及数据的更新等操作(Program carried out with the cycle of some of the data input and output, and data updating operations)
- 2016-02-16 11:21:48下载
- 积分:1
-
GetNetSetting
get your host net setting
- 2012-10-25 12:48:22下载
- 积分: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