-
机票需求分析,需求分析从一开始到包的一个G。
机票需求分析,从开始的需求分析到封装一气呵成,教你编程的基础-Ticket needs analysis, needs analysis from the beginning to the package at one go, and teach you the basis for programming
- 2022-06-02 09:09:25下载
- 积分: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
-
一个绿色定时小闹钟,用于吵醒。
一个绿色定时小闹钟,用于吵醒。-a regular small alarm clock, for the wake.
- 2022-10-08 10:40:02下载
- 积分:1
-
Really tested. 2.4
真的试验过。2.4寸TFT彩色液晶屏驱动程序,,m16驱动,很好看,还可以显示彩色照片-Really tested. 2.4-inch color TFT LCD driver,, m16 drivers, good to see, but also can display color photographs
- 2022-01-25 13:58:24下载
- 积分:1
-
设计模式在图形系统中的运用demo。包含常用的一些设计模式
设计模式在图形系统中的运用demo。包含常用的一些设计模式-Design Patterns in the use of graphics system demo. Contains a number of commonly used design patterns
- 2022-06-20 07:44:34下载
- 积分:1
-
经典报表工具,报表控件SMExport v4.
经典报表工具,报表控件SMExport v4.-classic tools statements, statements SMExport Control v4.
- 2023-01-19 18:15:04下载
- 积分:1
-
一个socket与线程池编程。适合新手学习
一个socket与线程池编程。适合新手学习-A programming socket and thread pool. Fit new study
- 2022-03-23 13:10:31下载
- 积分:1
-
tab控件的使用,请大家参考学习
tab控件的使用,请大家参考学习-tab control to use, please refer to learning! ! ! !
- 2023-05-07 05:40:03下载
- 积分:1
-
模拟内存的分页面算法
模拟内存的分页面算法-simulation, the sub-pages of memory algorithm
- 2022-11-30 09:15:03下载
- 积分:1
-
mfc的简单制作流程
mfc的简单制作流程-mfc a simple production process
- 2022-02-02 22:30:24下载
- 积分:1