漫天飞舞
              -------个人杂感,记录个人所想、所感。
<2010年3月>
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
公告
  • 本blog主要是记录个人的思想,供自己反省。因此谢绝人生攻击。

留言簿(471)

随笔分类

随笔档案

文章分类

文章档案

相册

叶飞之处

搜索

最新评论

  • 1. zaipeyja
  • --zaipeyja
  • 2. lamisil
  • I never know how much of what I say is true.
  • --lamisil
  • 3. lamisil
  • Let not the sands of time get in your lunch.
  • --lamisil
  • 4. keflex
  • Many people weigh the guilt they will feel against the pleasure of the forbidden action they want to take.
  • --keflex
  • 5. ventolin
  • --ventolin
  • 6. diamox
  • --diamox
  • 7. omnicef
  • The coldest winter I ever spent was a summer in San Francisco.
  • --omnicef
  • 8. vicodin prescription
  • Sometimes the cure for restlessness is rest.
  • --vicodin prescription
  • 9. avapro
  • The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
  • --avapro
  • 10. sidearm
  • Posterity is as likely to be wrong as anyone else.
  • --sidearm
  • 11. ultracet
  • Newspapermen learn to call a murderer 'an alleged murderer' and the King of England 'the alleged King of England' to avoid libel suits.
  • --ultracet
  • 12. zolpidem
  • Never be a cynic, even a gentle one. Never help out a sneer, even at the devil.
  • --zolpidem
  • 13. montelukast
  • Talking with you is sort of the conversational equivalent of an out of body experience.
  • --montelukast
  • 14. montelukast
  • Patriotism is your conviction that this country is superior to all other countries because you were born in it.
  • --montelukast
  • 15. furosemide
  • Whoso would be a man must be a nonconformist.
  • --furosemide
  • 16. avalide
  • I think people want their illusions and writers are mostly illusion. When you read their words, you read a flattened, incomplete version of the writer.
  • --avalide
  • 17. koevjrab
  • --koevjrab
  • 18. re: 关于爱情谜语的总结
  • 想要把你忘记真的好男
  • --ʹ勿忘我
  • 19. re: 关于爱情谜语的总结
  • 想要把你忘记真的好难
  • --ʹ勿忘我
  • 20. re: 关于爱情谜语的总结
  • 转到我的空间
  • --天使

阅读排行榜

评论排行榜

 
VC知识库BLOG   首页  新随笔  联系  聚合  登录 
  随笔-60 文章-52 评论-705 Trackbacks-0

网络编程

网络方面的零碎东东,但是估计会没有时间写。
  • Ice中,CPP2CS通信中包含中文的解决方法。

    在使用Ice通信的是,如果使用c++语言的一方向使用C#的一方传输的数据中包含有中文字符的话,就会有麻烦了。因为c#默认使用的是utf8编码,而c++默认的则是多字符集。如果不信,你可以测试Ice自带的demo,然后使用C++语言的Invoke中的Server,然后把getValues对应的值修改为中文,并使用C#的client测试看看。具体解决办法入内。

    发表于 2006-05-30 12:40 晓寒 阅读(2031) | 评论 (2)  编辑
  • 写给土匪的Ping500个ip。

    写的很乱,是拉vckbase的一个Xping修改的,就利用了一个线程技术。一共2个线程,一个发送,一个接收。代码没有整理纯粹是为了掩饰ping扫描的。中间有不少bug。需要用的小心。

    发表于 2005-08-24 15:47 漫天飞舞 阅读(3881) | 评论 (13)  编辑
  • 获取Tcp和UDP的连接信息

    说明:获取Tcp和UDP的连接信息 。这里仅列了几项。如果需要其他的信息,请参考GetTcpTable and GetUdpTable。需要注意的是: dwTableSize=500*8+4; 我设置的是硬性的.其实是应该使用GetTcpTable先得到空间,接着再获取的。但是,如果那样子作的话,80%的会失败!因为下一时刻和刚才的tcp连接数不一样。如果少了,自然可以。如果多了就不行了。所以我用硬性的来试验。具体使用,请个人根据自己的实际环境吧。

    发表于 2005-04-07 15:26 漫天飞舞 阅读(3015) | 评论 (5)  编辑