Export (0) Print
Expand All

Socket Properties

The properties of the Socket class are listed here. For a complete list of Socket class members, see the Socket Members topic.

Public Properties

public propertyAddressFamily

Supported by the .NET Compact Framework.

Gets the address family of the Socket.
public propertyAvailable

Supported by the .NET Compact Framework.

Gets the amount of data that has been received from the network and is available to be read.
public propertyBlocking

Supported by the .NET Compact Framework.

Gets or sets a value that indicates whether the Socket is in blocking mode.
public propertyConnected

Supported by the .NET Compact Framework.

Gets a value indicating whether a Socket is connected to a remote host.
public propertyHandle

Supported by the .NET Compact Framework.

Gets the operating system handle for the Socket.
public propertyLocalEndPoint

Supported by the .NET Compact Framework.

Gets the local endpoint.
public propertyProtocolType

Supported by the .NET Compact Framework.

Gets the protocol type of the Socket.
public propertyRemoteEndPoint

Supported by the .NET Compact Framework.

Gets the remote endpoint.
public propertySocketType

Supported by the .NET Compact Framework.

Gets the type of the Socket.
public propertystatic (Shared in Visual Basic)SupportsIPv4
public propertystatic (Shared in Visual Basic)SupportsIPv6

See Also

Socket Class | System.Net.Sockets Namespace

Show:
© 2014 Microsoft