-
动态改变鼠标的实例
动态改变鼠标的实例-examples of mouse
- 2022-03-03 19:44:15下载
- 积分:1
-
局域网文件传输
为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大...
局域网文件传输
为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大家可以在本机上测试,自己传文件给自己)。所以,我们在程序中需要使用两个Winsock控件,一个负责监听,一个负责发送,当发送端连接成功以后,便选择一个待发送的文件(可以是任意二进制文件),接着将文件名和文件字节长度发送给接收端,接收端收到这个消息以后,将文件名和文件长度解析出来,然后通知发送端可以开始发送文件;发送端读到这个消息之后,将文件流以字节的形式发送到接收端,接收端收到后,将二进制流回写,保存成文件即可。这里要注意两点,一个是由于Winsock每次最大传输8K的内容,所以需要将文件分解,每次传输固定数目的字节流,这样发送和接收时都可以根据这个数目来判断文件传输的进程,一旦字节流数目等于文件的大小,就需要关闭相应的文件句柄;另一点是由于我只使用一个Winsock控件接收,接收文本时需要注意要将UNICODE转码,解析成可识别的信息。
-LAN file transfer to uniform design and user convenience, we hope it will end service and client together and form a process so that users understand, a more intuitive 1:00 (in fact, do so in order to facilitate debugging, you can test the machine, its own text- items for himself). Therefore, we need procedures in the use of two Winsock Control, a charge of wiretapping, a charge of this, when the transmitter connects successfully, it will be a choice to send the document (can be arbitrary binary files), will then file names and the
- 2022-04-14 22:25:12下载
- 积分:1
-
没有密码用来解压缩这个文件。本程序介绍了解决方案…
无解压密码,此程序是介绍了关于小球反弹高度的一个计算问题。-No password used to unzip this file. This program introduces the program of solving the rebound s height.
- 2023-08-29 00:10:04下载
- 积分:1
-
With a radio button StringGrid, with a radio button StringGrid with a radio butt...
使用单选按钮StringGrid,使用单选按钮StringGrid和单选按钮StringGrid和单选按钮StringGrid
- 2022-03-15 23:43:37下载
- 积分:1
-
运动检测
运动检测
- 2022-08-07 15:01:51下载
- 积分:1
-
日历算法及源代码,C++语言开发。Word文档。那里…
万年历算法与源码,c语言开发。word文档。有兴趣的尽快下载-Calendar algorithm and source code, c language development. word document. There is interest in the download as soon as possible
- 2022-07-02 14:23:50下载
- 积分:1
-
类似OICQ的局域网通信使用TCP协议,使用Winsock控件,可以发送文件
类似OICQ的局域网通信,采用TCP协议,利用winsock,可以传文件-similar OICQ LAN communications using TCP, using winsock, can send documents
- 2023-04-06 04:15:04下载
- 积分:1
-
Windows brush selection process
Windows画笔选择的程序-Windows brush selection process
- 2023-08-06 16:20:02下载
- 积分:1
-
一个公享软件注册框的控件,使大家在做软件保护的时候更方便。...
一个公享软件注册框的控件,使大家在做软件保护的时候更方便。-Software to enjoy a public register of the control box, so that we can do when software protection and more convenient.
- 2022-04-25 10:15:06下载
- 积分:1
-
用visualprolog编写的专家系统
用visualprolog编写的专家系统-Visualprolog prepared by expert system
- 2022-05-07 09:14:13下载
- 积分:1