posts - 84,  comments - 399,  trackbacks - 5
计算机网络
网络,通信,架构
The secret benefit of search engine optimisation: Increased usability      摘要: A higher search ranking is what many website owners dream of. What they don't realise is that by optimising their site for the search engines, if done correctly, they can also optimise it for their site visitors.

Ultimately this means more people finding your website and increased sales and lead generation. But are search engine optimisation and usability compatible? Aren't there trade-offs that need to be made between giving search engines what they want and giving people what they wan  阅读全文
posted @ 2008-05-06 10:42 Erwin[CN-L2] 阅读(35) | 评论 (0)  编辑
[转载]使用原始套接字发送自定义IP包      摘要: 文章首先介绍Windows Sockets的一些关于原始套接字(Raw Socket)的编程,通过原始套接字,我们可以更加自如地控制Windows下的多种协议,而且能够对网络底层的传输机制进行控制,文末,给出了使用原始套接字发送自定义IP包的示例代码  阅读全文
posted @ 2007-05-13 03:40 Erwin[CN-L2] 阅读(725) | 评论 (1)  编辑
[原创]使用 异步多线程TCP Socket 实现进程间通信(VC 6.0 , BCB6.0调试通过)      摘要: 进程间通信有很多种方式,比如说 Pipe,共享内存,DDE,Socket等,关于进程通信方面的知识我在这里就不讨论了,大家可以看我博客里的另一些文章有讲...今天我们主要讨论怎么样使用Socket实现进程间通信。
本程序将使用Socket 的WSAEventSelect异步方式,使用多线程,建立一个服务器类,使用此类的时候只需要将处理数据的函数指针传给该类,进行数据处理,本例中,服务器将启动一个客户端进程,让客户端像服务器发送数据,然后服务端收到数据后将数据打印出来进!从而达到进程通信的目的,当然,如果想进行数据的特殊处理的话,只需要改写处理函就行了,因为,服务器类只是接收函数指针。
本类在C++ builder 6.0 和 VC 6.0调试通过....不过大家注意看程序注释,不同的编译器使用需要修改一点地方,程序注释说的很清楚,我就不在这里介绍了.  阅读全文
posted @ 2007-04-20 14:45 Erwin[CN-L2] 阅读(3125) | 评论 (11)  编辑