-
lesson-14
孙鑫VC++教学课程lesson14:网络的相关知识,网络程序的编写,Socket是连接应用程序与网络驱动程序的桥梁,Socket在应用程序中创建,通过bind与驱动程序建立关系。此后,应用程序送给Socket的数据,由Socket交给驱动程序向网络上发送出去。计算机从网络上收到与该Socket绑定的IP+Port相关的数据后,由驱动程序交给Socket,应用程序便可从该Socket中提取接收到的数据。网络应用程序就是这样通过socket进行数据的发送与接收的。TCP与UDP的工作原理与编写过程,如何在程序中链接库文件。一个字符界面的聊天程序。(Sun Xin VC++ tutorial lesson14: the knowledge of the network, network program, Socket is connected applications and network drivers bridges, Socket application to create, build relationships bind driver. Thereafter, the data of the application to give socket, by the Socket handed driver and sent out on the network. After binding with the Socket IP+Port related data is received by the computer from the network, by the driver to the socket, the application can extract the data received from the Socket. Network application is sending and receiving data through the socket. TCP and UDP works and the writing process, how to link library files in the program. A character interface chat program.)
- 2013-04-02 10:19:34下载
- 积分:1
-
Getmacofremotemachine
获取远程机器的MAc地址,运行环境VC++
(get MAC of remote machine)
- 2009-05-10 17:27:13下载
- 积分:1
-
44810407
说明: Desktop drawing program, for beginners to understand the vc code is a good example, performance fun and easy to learn
- 2018-12-31 11:33:10下载
- 积分:1
-
051018NBSI25
cookie注入工具cookie注入工具
- 2010-02-18 16:48:39下载
- 积分: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
-
下载软件
从网页上下载,这样的话可以用其加工来设计升级程序(downloaded from the website, so processing can be used to design its promotion procedures)
- 2005-01-28 23:18:59下载
- 积分:1
-
socket
TCP CS 模式文件传输可以下载和上传文件,也可浏览服务器端文件(TCP CS file transportation)
- 2010-11-08 21:48:17下载
- 积分:1
-
GetNetSetting2
Visual C++ 6.0.此代码可以进行显示网络设置,包括IP地址等。(Visual C 6.0. This code can show network configuration, including the IP address.)
- 2005-04-20 22:39:50下载
- 积分:1
-
PackSock
一个通过网络高速传输文件的控件:
具有以下特点
1.有高速数据传输功能,超过了Winsock控件的吞吐量
2.入校验功能,满足大数据包的收发,理论上不限数据尺寸
3.加入防错代码,提高了接口鲁棒性(through a network of high-speed transmission of documents, the controls : one with the following features. A high-speed data transmission functions Controls over the throughput of Winsock 2.- Check function and meet large data packet transceiver, Theoretically Open-data size 3. to prevent the wrong code, improve the robustness Interface)
- 2006-08-14 21:58:05下载
- 积分:1
-
ChatDemo
一个简单的点对点聊天程序,学习socket通讯编程时的练习程序。编译环境为VS2008(A simple peer-to-peer chat program, learning socket communication programming practice procedures. The compiled environment for VS2008)
- 2020-07-04 14:00:02下载
- 积分:1