Next: htonl
Up: Methods
Previous: sendTo
Contents
Description
Disables sends or receives on the socket.
Syntax
socket.shutDown([how])
Parameters
- how
- Optional. Integer. Describes what types of operation will no longer be allowed, using the following values:
|
0 |
receives |
|
1 |
sends |
|
2 |
both |
The default value is 1.
Returns
Boolean
Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.