System.Net.Sockets.SocketOptionName Enumeration

Assembly: System.dll
Namespace: System.Net.Sockets
Summary
Defines socket option names for the Socket class.
C# Syntax:
[Serializable]
public enum SocketOptionName
See also:
System.Net.Sockets Namespace

System.Net.Sockets.SocketOptionName Member List:

Public Fields
AcceptConnection Socket is listening.
AddMembership Add an IP group membership.
AddSourceMembership Join a source group.
BlockSource Block data from a source.
Broadcast Permit sending broadcast messages on the socket.
BsdUrgent Use urgent data as defined in RFC-1222. This option can be set only once, and once set, cannot be turned off.
ChecksumCoverage Set or get UDP checksum coverage.
Debug Record debugging information.
DontFragment Do not fragment IP datagrams.
DontLinger Close socket gracefully without lingering.
DontRoute Do not route; send directly to interface addresses.
DropMembership Drop an IP group membership.
DropSourceMembership Drop a source group.
Error Get error status and clear.
ExclusiveAddressUse Enables a socket to be bound for exclusive access.
Expedited Use expedited data as defined in RFC-1222. This option can be set only once, and once set, cannot be turned off.
HeaderIncluded Indicates application is providing the IP header for outgoing datagrams.
IPOptions Specifies IP options to be inserted into outgoing datagrams.
IpTimeToLive Set the IP header time-to-live field.
KeepAlive Send keep-alives.
Linger Linger on close if unsent data is present.
MaxConnections Maximum queue length that can be specified by Socket.Listen.
MulticastInterface Set the interface for outgoing multicast packets.
MulticastLoopback IP multicast loopback.
MulticastTimeToLive IP multicast time to live.
NoChecksum Send UDP datagrams with checksum set to zero.
NoDelay Disables the Nagle algorithm for send coalescing.
OutOfBandInline Receives out-of-band data in the normal data stream.
PacketInformation Return information about received packets.
ReceiveBuffer Send low water mark.
ReceiveLowWater Receive low water mark.
ReceiveTimeout Receive time out.
ReuseAddress Allows the socket to be bound to an address that is already in use.
SendBuffer Specifies the total per-socket buffer space reserved for sends. This is unrelated to the maximum message size or the size of a TCP window.
SendLowWater Specifies the total per-socket buffer space reserved for receives. This is unrelated to the maximum message size or the size of a TCP window.
SendTimeout Send timeout.
Type Get socket type.
TypeOfService Change the IP header type of service field.
UnblockSource Unblock a previously blocked source.
UseLoopback Bypass hardware when possible.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.