登录
首页 » Windows开发 » win32服务端socket封装

win32服务端socket封装

于 2022-04-28 发布 文件大小:17.69 MB
0 172
下载积分: 2 下载次数: 1

代码说明:

资源描述win32 API网络编程中比较麻烦,这里是封装好的socket类

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PXA270下WINCE的对话框控件编程参考源代码,C++编写。
    PXA270下WINCE的对话框控件编程参考源代码,C++编写。-PXA270 dialog controls under the WINCE programming reference source code, C++ Prepared.
    2022-01-27 23:02:01下载
    积分:1
  • 实现状态栏图标动画。
    在状态栏中实现动画图标。-achieve the status bar icon animation.
    2022-10-31 13:20:03下载
    积分:1
  • "This game will get character and do in these steps. "+ "1)Get only char...
    "This game will get character and do in these steps. "+ "1)Get only character from a-z (no capital letters) "+ "2)After that, it will reverse the result from step 1) "+ "3)Finally, it will find vowel from step 1) (before reverse) and append after result from step 2) (after reverse)" -"This game will get character and do in these steps. "+ "1)Get only character from a-z (no capital letters) "+ "2)After that, it will reverse the result from step 1) "+ "3)Finally, it will find vowel from step 1) (before reverse) and append after result from step 2) (after reverse)"
    2022-03-18 08:35:51下载
    积分:1
  • Windows系统编程可对常见的外部USB设备接口…
    windows系统下编程提供给USB外部通用设备的接口的调用函数-windows system programming available to the common external USB device interface function is called
    2022-07-12 23:16:16下载
    积分:1
  • 汇编语言中的中断试验程序源代码 该实验可以进行方针测试...
    汇编语言中的中断试验程序源代码 该实验可以进行方针测试-assembly language interruption of the pilot program source code for the experimental approach can be tested
    2022-11-13 13:40:03下载
    积分:1
  • This is a form control the use of books prepared by the procedure, function rela...
    这是一个使用表格控件编写的账本程序,功能比较简单,好用。-This is a form control the use of books prepared by the procedure, function relatively simple, easy to use.
    2023-08-20 20:55:03下载
    积分: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
  • 将标准输出重定向到一编辑框
    将标准输出重定向到一编辑框-The example of redirecting standard output to an edit
    2022-05-16 20:18:39下载
    积分:1
  • LAN messaging
    局域网内发送消息-LAN messaging
    2023-06-18 14:05:03下载
    积分:1
  • udp通信客户端程序
    应用背景 AppWizard has created this udpClient application for you.  This file contains a summary of what you will find in each of the files that make up your udpClient application. udpClient.dsp     This file (the project file) contains information at the project level and     is used to build a single project or subproject. Other users can share the     project (.dsp) file, but they should export the makefiles locally. udpClient.cpp     This is the main application source file. 关键技术 ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp     These files are used to build a precompiled header (PCH) file     named udpClient.pch and a precompiled types file named StdAfx.o
    2022-02-13 21:01:13下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载