2006年08月14日
記一下Windows Platform Considerations要注意的地方
| Windows
does not implicitly support inheritance of network endpoints.
To do this, the registry entry USE_SHARED_SOCKET must be set
to TRUE to allow multiple connections to use a single socket.
When the value is FALSE (default), bequeath connections are not
possible so a redirect session is initiated instead. If the USE_SHARED_SOCKET entry is set to TRUE, Windows can initiate bequeath connections but there are some caveats to consider. If a number of connections are initiated and for some reason the listener is stopped, the listener will not be able to be restarted until the connections are cleared. This is because the existing connections are using the same port number that the listener needs to listen on. This is a limitation with Microsoft’s implementation of TCP/IP using Windows Sockets API (WINSOCK2). |
引用URL
http://cgi.blog.roodo.com/trackback/2016392