Handle is the socket identifier of a listening socket. If
the socket control that invokes this method is not the listening
socket, then the listening socket may continue to listen for
incoming connections. If the control of a listening socket invokes
this method with its own handle, then it ceases to listen, and no
other host can establish a connection with the application.
Options defaults to a combination of the Boolean
properties Route, KeepAlive, ReuseAddress,
NoDelay, InLine, and Secure. In order to set
the Options argument explicitly, set it as a sum of values
chosen from the table below. (Note: Add in the appropriate
constant if you wish the attribute corresponding to the property to
be True, except for Route. In the case of
Route, add in the corresponding constant to get the effect
of Route = False.)
| Constant |
Value |
Property |
| swOptionNone |
0 |
None |
| swOptionDontRoute |
2 |
Route = False |
| swOptionKeepAlive |
4 |
KeepAlive = True |
| swOptionReuseAddress |
8 |
ReuseAddress = True |
| swOptionNoDelay |
16 |
NoDelay = True |
| swOptionInLine |
32 |
InLine = True |
| swOptionSecure |
&H10000000 |
Secure = True |