-
cs
说明: MFC界面,服务器端可通过TCP socket的链接使client和sever端建立链接,然后可以对客户端的相关文件实现监听功能。并显示在服务器相应位置。(client sever )
- 2014-05-01 23:03:40下载
- 积分:1
-
WinSocketAPI
使用Winsocket API实现的网络通信功能,分客户端和服务器端。(Winsocket API to achieve the use of the network communication function, sub-client and server.)
- 2009-05-19 12:30:43下载
- 积分:1
-
IOCP-Basic
IOCP基本原理介绍,主要介绍了如何使用IOCP进行开发。(Introduce the basic principles of IOCP, mainly on how to use IOCP for development.)
- 2011-04-20 10:13:01下载
- 积分: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
-
huoqu
说明: 获取本地计算机信息的小代码,比较简单,适合初学网络编程(a simple program of geting information from computer)
- 2013-11-28 23:56:56下载
- 积分:1
-
ClientSocketList
这份源码可以让大家更清晰的知道编写网络通讯的技巧(This code can let everyone know more clearly written communication network techniques)
- 2010-05-25 09:34:52下载
- 积分:1
-
Client
VC++ 2008客户端实现 可以模拟多个服务器链接(VC++ 2008 client implementation can simulate multiple servers link)
- 2012-10-02 03:31:21下载
- 积分:1
-
ChatClient
基于MFC框架应用SOCKET的聊天室客户端,在VS2015上完美运行(SOCKET chat room client based on MFC framework, running perfectly on VS2015)
- 2018-08-09 11:11:28下载
- 积分:1
-
HttpDownLoad
vc实现http下载的源代码 稍作改动可用来实现多线程 以及断点续传下载 对于想要学习http下载的朋友来说可以作为一个不错的参考(Vc realize the download HTTP source code can be used to make a little change to realize multithreading and netants download to want to learn HTTP download all of us can be used as a good reference)
- 2011-10-28 08:26:45下载
- 积分:1
-
Ping
用C语言实现的ping 功能,经典实现,在VC下调试通过(Ping using C language functions implemented)
- 2010-05-10 11:22:03下载
- 积分:1