Socket Properties

Socket Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Socket type exposes the following members.

  NameDescription
Public property AddressFamily Gets the address family of the Socket.
Public property Connected Gets a value that indicates whether a Socket is connected to a remote host as of the last operation.
Public property LocalEndPoint Gets the local endpoint that contains the local IP address and port number to which the socket is bound. This is the endpoint that the socket is using for communications.
Public property NoDelay Gets or sets a Boolean value that specifies whether the Socket is using the Nagle algorithm.
Public property Static member OSSupportsIPv4 Gets a value indicating whether IPv4 support is available and enabled on the current host.
Public property Static member OSSupportsIPv6 Gets a value indicating whether IPv6 support is available and enabled on the current host.
Public property ProtocolType Gets the protocol type of the Socket.
Public property ReceiveBufferSize Gets or sets a value that specifies the size of the receive buffer of the Socket.
Public property RemoteEndPoint Gets the remote endpoint.
Public property SendBufferSize Gets or sets a value that specifies the size of the send buffer of the Socket.
Public property Ttl Gets or sets a value that specifies the Time To Live (TTL) value of Internet Protocol (IP) packets sent by the Socket.
Top

Show:
© 2017 Microsoft