Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SocketShutdown Enumeration

Defines constants used by the Socket.Shutdown method.

[Visual Basic]
<Serializable>
Public Enum SocketShutdown
[C#]
[Serializable]
public enum SocketShutdown
[C++]
[Serializable]
__value public enum SocketShutdown
[JScript]
public
   Serializable
enum SocketShutdown

Remarks

The SocketShutdown enumeration defines the values that can be passed to the Socket.Shutdown method.

Members

Member name Description
Both

Supported by the .NET Compact Framework.

Disables a Socket for both sending and receiving. This field is constant.
Receive

Supported by the .NET Compact Framework.

Disables a Socket for receiving. This field is constant.
Send

Supported by the .NET Compact Framework.

Disables a Socket for sending. This field is constant.

Requirements

Namespace: System.Net.Sockets

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System (in System.dll)

See Also

System.Net.Sockets Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft