window_socket

所属分类:网络编程
开发工具:Visual C++
文件大小:14867KB
下载次数:34
上传日期:2007-03-13 10:20:20
上 传 者bowang72
说明:  windows网络编程技术随书源码,比较详细介绍了windows 平台下各种网络编程方法
(windows of network programming source books, more detail on the windows platform networks Programming)

文件列表:
254733\window_socket\Chapters\AppendixB\iparp\Makefile (472, 1998-05-28)
254733\window_socket\Short\APPEND~1\iparp\Makefile (472, 1998-05-28)
254733\window_socket\Chapters\AppendixB\ipchange\Makefile (490, 1998-05-28)
254733\window_socket\Short\APPEND~1\ipchange\Makefile (490, 1998-05-28)
254733\window_socket\Chapters\AppendixB\ipconfig\Makefile (490, 1998-05-28)
254733\window_socket\Short\APPEND~1\ipconfig\Makefile (490, 1998-05-28)
254733\window_socket\Chapters\AppendixB\iprenew\Makefile (484, 1998-05-28)
254733\window_socket\Short\APPEND~1\iprenew\Makefile (484, 1998-05-28)
254733\window_socket\Chapters\AppendixB\iproute\Makefile (484, 1998-05-28)
254733\window_socket\Short\APPEND~1\iproute\Makefile (484, 1998-05-28)
254733\window_socket\Chapters\AppendixB\ipstat\Makefile (479, 1998-05-28)
254733\window_socket\Short\APPEND~1\ipstat\Makefile (479, 1998-05-28)
254733\window_socket\Chapters\AppendixB\MakeFile (1313, 1998-05-30)
254733\window_socket\Short\APPEND~1\MakeFile (1313, 1998-05-30)
254733\window_socket\Chapters\Chapter09\SIO_RCVALL\Makefile (534, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SIO_RC~1\Makefile (534, 1998-12-10)
254733\window_socket\Chapters\Chapter09\IPPROTO_IP\IP_MULTICAST_TTL\Makefile (512, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\IPPROT~1\IP_MUL~1\Makefile (512, 1998-12-10)
254733\window_socket\Chapters\Chapter09\IPPROTO_IP\IP_TOS\Makefile (512, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\IPPROT~1\IP_TOS\Makefile (512, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SIO_ADDRESS_LIST_QUERY\Makefile (535, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SIO_AD~1\Makefile (535, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SIO_ENABLE_CIRCULAR_QUEUEING\Makefile (519, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SIO_EN~1\Makefile (519, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SIO_GET_BROADCAST_ADDRESS\Makefile (520, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SIO_GE~1\Makefile (520, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SIO_KEEPALIVE_VALS\Makefile (519, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SIO_KE~1\Makefile (519, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SIO_ROUTING_INTERFACE_QUERY\Makefile (527, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SIO_RO~1\Makefile (527, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SOL_SOCKET\SO_ACCEPTCONN\Makefile (524, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SOL_SO~1\SO_ACC~1\Makefile (524, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SOL_SOCKET\SO_MAX_MSG_SIZE\Makefile (524, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SOL_SO~1\SO_MAX~1\Makefile (524, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SOL_SOCKET\SO_PROTOCOL_INFO\Makefile (520, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SOL_SO~1\SO_PRO~1\Makefile (520, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SOL_SOCKET\SO_RCVTIMEO\Makefile (532, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SOL_SO~1\SO_RCV~1\Makefile (532, 1998-12-10)
254733\window_socket\Chapters\Chapter09\SOL_SOCKET\SO_TYPE\Makefile (532, 1998-12-10)
254733\window_socket\Short\CHF5B5~1\SOL_SO~1\SO_TYPE\Makefile (532, 1998-12-10)
... ...

To run the namepipe sample, start the pipe server first, and then start the pipe client to connect and send a test message to the server. The namepipe server demonstrated in the server only takes one client pipe connection. Due to no support of threads in VB (VB runtime is not threadsafe), it's not easy to implement a name pipe server that can take multiple client pipe connections. It's still possible to write a name pipe server in VB that can take multiple pipe clients and does not block by using overlapped I/O and controling the timeout in WaitForMultipleObject. Serious scalable server development however should utilize C/C++ and the I/O completion port on Windows NT.

近期下载者

相关文件


收藏者