-
hanshu
c语言中几个典型常用函数的调用,比如说宏之类的(c language commonly used in several typical function call, such as macros and the like)
- 2011-10-13 22:34:51下载
- 积分: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
-
Ri230-v1
c++ 利用ADO操作数据库,供初学数据库编程的人参考(c++ to operate the database by ADO)
- 2010-12-04 20:49:35下载
- 积分:1
-
kplk
一款一个益智类的手机游戏源码,可自己进行编译生成相应的安装文件(A puzzle class of mobile game source code, can be compiled to generate the corresponding installation files.)
- 2019-03-25 21:07:27下载
- 积分:1
-
Circle-to-teach-USB-(The-2-chapter)
《圈圈教你玩USB》随书光盘(第2章) ( The circle USB teach you to play CD with the book (chapter second))
- 2015-10-09 15:21:39下载
- 积分:1
-
barcode
39条码的生成dll,生成的条码保持在数组里(the dll of creating barcode 39)
- 2012-06-18 10:15:22下载
- 积分:1
-
ggg
ASP.net留言版,一个很实用的留言版,适合刚刚学习C#net编程的爱好者学习。(ASP.net message board, a very practical message board for just learning C# Net programming enthusiasts learning.)
- 2007-12-14 17:39:22下载
- 积分:1
-
STK-develop
SIM卡为表示能够执行proactive command且支持SAT,它必须在文件EFphaseTKG EFsst中有相关数据。 Phase文件指的是SIM卡所支持的GSM标准的级数,值为3则指SIM卡支持GSM phase 2和设置下传功能(profile download)。SST文件包含支持哪些GSM性能的准确信息。(SIM card that can support the implementation of proactive command and the SAT, it must file EFphaseTKG EFsst have relevant data. Phase document refers to the SIM card supports the GSM standard series, a value of 3 means the SIM card supports the GSM phase 2 and settings transfer function (profile download). SST file which contains support for GSM performance of accurate information.)
- 2011-06-16 12:44:25下载
- 积分:1
-
sccomx
串口检查源码,VC++工程项目,经典串口通信工具(failed to translate)
- 2010-01-20 12:28:40下载
- 积分:1
-
head-card-VB
公路设计软件海地head纵横地面线数据转换card纵横数据文件VB源代码程序(Haiti head vertical and horizontal ground line highway design software data conversion card and data file VB source program
)
- 2020-12-07 22:19:21下载
- 积分:1