-
socket
基于socket与数据库的自动贩货机服务器端和客户端的编程(Socket and the database automatically based on trafficking in goods and client-server programming)
- 2011-05-16 15:45:31下载
- 积分:1
-
PC program of low resistance tester20171101
低电阻测试仪上位机程序,带参数设置功能自动量程、讯响、单次连续、报警上下限设置,及测量数据即时上传功能(Low resistance tester upper computer program, with parameter setting function, automatic range, sound, single continuous, alarm upper and lower settings, and measurement data immediate upload function)
- 2017-11-01 16:15:52下载
- 积分:1
-
IP-phone-source
VC++实现的IP网络电话方案,借鉴一下吧(VC IP telephone network, learn from my views)
- 2007-06-20 11:40:04下载
- 积分: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
-
hacker
黑客攻防入门书籍 很好很强大
讲了各种攻击方法(Getting Started with a very good offensive and defensive hacking books, talk about a variety of very strong attack methods)
- 2009-11-25 10:49:52下载
- 积分:1
-
BOOKSTORE
网络书店,利用C++编程和MySQL编程,做一个简易的网络书店。(Internet bookstores, the use of C++ programming and MySQL programming, the network to do a simple book.)
- 2009-04-03 13:21:47下载
- 积分: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
-
LIAOTIAN
应用C++实现局域网内的文件传送和聊天功能(Application C++ Realize LAN file transfer and chat features)
- 2008-05-27 16:12:45下载
- 积分:1
-
MY_ping_command(1)
Visual C++ 平台下实现ping命令过程,包括打包发送接受解包等
对网络编程初期学习者很有帮助
- 2011-04-23 12:55:18下载
- 积分:1
-
Project1
TCP 发送模块 一点小代码``````
仅仅当做参考(TCP Send Module)
- 2010-09-10 22:05:17下载
- 积分:1