-
cs
说明: MFC界面,服务器端可通过TCP socket的链接使client和sever端建立链接,然后可以对客户端的相关文件实现监听功能。并显示在服务器相应位置。(client sever )
- 2014-05-01 23:03:40下载
- 积分:1
-
DXF_G_code
DXF轨迹图转G代码,有 直线,圆,圆弧,样条曲线,优化多段线,多段线。与下位机串口通讯!无法编译,是因为要先注册mscomm控件(DXF trajectories turn the G-code, line, circle, arc, spline curves to optimize the polyline, polyline. With lower serial communications! Not compile because the first registered mscomm controls)
- 2020-11-03 08:29:52下载
- 积分:1
-
picture_to_eps
pic_eps.bat 批处理文件 可以很方便的将任意格式的图片转为eps格式(pic_eps.bat batch file can easily be converted to any format image eps format)
- 2013-07-15 19:34:41下载
- 积分:1
-
InstantMessaging
简单的网络聊天文件传输程序 可以
0.普通聊天(文字、图片)
1.聊天室
2.传输文件(断点续传)
3.共享屏幕
4.白板
5.视频、音频聊天(Simple network chat file transfer program can 0. General chat (text, images) a chatroom 2. Transfer files (HTTP) 3. Shared screen 4. Whiteboard 5 video and audio chat)
- 2013-08-26 22:14:23下载
- 积分:1
-
TongBu1111
在windows操作系统上,测试排序,常用的排序方法,主要是测试使用(Test sort program with uasual ordering approach based on Windows OS, mainly for test.)
- 2005-07-06 23:54:44下载
- 积分:1
-
PMSM
基于DSP2812的永磁同步电机矢量控制源程序(DSP2812-based vector control of PMSM source)
- 2011-06-13 21:04:45下载
- 积分:1
-
printer
基于打印的编程 ,利用mfc框架实现,生成自己想要的ui和功能。 (Print-based programming, the use of mfc framework implementation, generate ui and features you want.)
- 2014-08-05 13:11:15下载
- 积分:1
-
socket
vc++ 下的socket收发例程,tcp和udp例程(socket vc++)
- 2013-11-03 23:06:48下载
- 积分:1
-
IP
说明: 视频会议模块用于传输图像信息及其他文件,采用vfw编程,便于理解,是很好的学习源码(Video conferencing module for the transmission of image information and other documents, using vfw program, easy to understand, is a good learning source)
- 2010-04-01 15:35:30下载
- 积分: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