登录
首页 » Visual C++ » P2P_UDP

P2P_UDP

于 2007-10-30 发布 文件大小:3505KB
0 95
下载积分: 1 下载次数: 312

代码说明:

  点到点通信代码,其中包括客户端程序和服务器端程序。(Code point-to-point communications, including client and server-side program.)

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

发表评论

0 个回复

  • GifCodec
    参考网上的资料写的gif编解码。 编码用gdi解析常用图片格式,然后组装成gif 解码吧gif的每一帧转换成dib gif文件格式网上有很多介绍 gif用的变长lzw压缩算法: 没弄懂原理,只知道过程。压缩取一个字符作为后缀,看看字符串是否存在。存在,用对应的编码作为前缀继续取;不存在把字符串添加到字典,前缀添加到输出流,后缀作为前缀继续取。解压取一个编码看看字典中是否存在。存在用对应的字符串的第一个字符作为后缀,看看当前字符串是否存在,不存在添加到字典中,后缀作为前缀,前缀对应的字符串添加到输出流,继续取;编码不存在,前缀对应的字符串的第一个字符作为后缀(这时当前字符串肯定不存在,字典中下一个可用编码肯定等于刚取出的编码),字符串添加到字典中,编码作为前缀,前缀对应的字符串添加到输出流,继续取。 编码流转换成字节流是按位从低到高的,window是小端模式(低字节在低地址),字节内低位在右边。 24位dib转换成8位dib时使用的八叉树算法 图片拉伸时参考的网上的双线性插值算法。 字典满了位数加一,位数是12时不加(Online reference materials written gif codec. Encoded using gdi resolve common image formats, and then assembled into a gif Each frame decode it into a gif dib There are many online gif file format introduced gif lzw with variable length compression algorithm: Did not understand the principle, only know the process. Compression takes a character as a suffix, and see if there is a string. Exist as a prefix to continue to take with the corresponding encoding there is no string to add to the dictionary, a prefix added to the output stream, the suffix as a prefix to continue to take. Take a look at extracting coding dictionary exists. Exist with the corresponding first character string as a suffix to see the current string exists, there is no add to the dictionary, the suffix as a prefix, the corresponding string to the output stream, continue to take coding does not exist, prefix corresponding first character string as a suffix (when the current string certainly does not exis)
    2015-01-17 20:22:25下载
    积分:1
  • poj3941
    poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills. (poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills.)
    2013-07-16 20:45:28下载
    积分:1
  • Horde3D_SDK_1.0.0_Beta4
    开源的3D引擎。简单实用。 带有示例代码,和引擎代码(Open-source 3D engine. Simple and practical. With the sample code, and the engine code)
    2010-01-16 10:35:17下载
    积分:1
  • gontext
    如何获取线程关联用户名和域名,不错,很好()
    2018-06-20 11:33:16下载
    积分:1
  • dtzm
    xp上的动态桌面源代码。有点鸡肋。高手飞过吧。。(Dynamic Desktop source code on xp. Bit tasteless. Master flying it. .)
    2014-01-13 16:22:24下载
    积分:1
  • print_kyjt
    这是黑龙江省瓦斯监控系统的打印程序,实现了从access数据库中读出数据在打印机上输出的功能,长期运行,性能稳定。()
    2007-08-06 10:53:53下载
    积分:1
  • vs-2008-under-MFC-program--run-dall
    visual studio 2008下MFC程序运行所需dall(visual studio 2008 under MFC program needed to run dall)
    2012-08-28 10:14:28下载
    积分:1
  • space_pointpos
    实现gps无电离层改正和无对流层改正的单点定位 ,精度30m左右(Realize the GPS without ionospheric correction and tropospheric correction of single point positioning, precision about 30 m )
    2015-08-13 09:17:23下载
    积分:1
  • SOC
    SOC的可测性设计策略 The SOC design for test strategy(The SOC design for test strategy)
    2011-04-25 19:54:51下载
    积分:1
  • PhysicalGravity
    物理模拟小球重力加速度演示,不同物质加速度不同,下落状态也不同(PhysicalGravity)
    2009-09-14 18:01:56下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载