- 博客(4)
- 资源 (4)
- 收藏
- 关注
原创 wxDatagramSocket BroadCast
<br />wxDatagramSocket BroadCast [转贴 2009-09-16 16:08:29] 字号:大 中 小wxSocketBase::Initialize();wxIPV4address BroadCastAddress; // For broadcast sending wxIPV4address LocalAddress; // For the listening LocalAddress.AnyAddress(); BroadCastAddress.Hostname(_
2010-06-29 17:02:00 1414
原创 禁止send()函数向系统发送异常消息
<br />linux下当连接断开,还发数据的时候,不仅send()的返回值会有反映,而且还会像系统发送一个异常消息,如果不作处理,系统会出BrokePipe,程序会退出。为此,send()函数的最后一个参数可以设MSG_NOSIGNAL,禁止send()函数向系统发送异常消息。
2010-06-11 13:07:00 718
原创 wxwidgets+vc2005配置方法
在实验opengl例子时,出现以下错误:正在链接... cube.obj : error LNK2001: 无法解析的外部符号 "protected: static struct wxEventTable constwxGLCanvas::sm_eventTable" (?sm_eventTable@wxGLCanvas@@1UwxEventTable@@B) cube.obj : error LNK2019: 无法解析的外部符号其中库wxmsw28d_gl.lib是根据下载时的,编译后的发现没有这个库,
2010-06-11 10:31:00 1430
原创 建希文件
<br />FSCTL_SET_SPARSE<br /> <br />The FSCTL_SET_SPARSE control code marks the indicated file as sparse. In a sparse file, large ranges of zeroes may not require disk allocation. Space for nonzero data will be allocated as needed as the file is writt
2010-06-08 15:15:00 847
INF文件格式参考
2011-10-11
分析网页中数据自动并保存到数据库(源码+手册)
2010-06-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人