Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Sockets / LingerOption.cs / 1305376 / LingerOption.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Sockets { using System; ////// public class LingerOption { bool enabled; int lingerTime; ///Contains information for a socket's linger time, the amount of time it will /// remain after closing if data remains to be sent. ////// public LingerOption(bool enable, int seconds) { Enabled = enable; LingerTime = seconds; } ////// Initializes a new instance of the ///class. /// /// public bool Enabled { get { return enabled; } set { enabled = value; } } ////// Enables or disables lingering after /// close. /// ////// public int LingerTime { get { return lingerTime; } set { lingerTime = value; } } } // class LingerOption } // namespace System.Net.Sockets // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The amount of time, in seconds, to remain connected after a close. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexFCD.cs
- TransformGroup.cs
- ResourcePermissionBaseEntry.cs
- xdrvalidator.cs
- XmlNodeList.cs
- InstanceKey.cs
- ConfigXmlCDataSection.cs
- NativeMethods.cs
- RawStylusInputReport.cs
- WSHttpTransportSecurityElement.cs
- TextElementEnumerator.cs
- SafeHandles.cs
- ExpressionNode.cs
- SafeReversePInvokeHandle.cs
- DataGridCommandEventArgs.cs
- Image.cs
- PublisherIdentityPermission.cs
- KeyedQueue.cs
- SimplePropertyEntry.cs
- ISFTagAndGuidCache.cs
- PopupEventArgs.cs
- ShapeTypeface.cs
- Variable.cs
- CodeAttributeDeclaration.cs
- BulletChrome.cs
- HttpRuntime.cs
- ServiceBusyException.cs
- TimeSpanFormat.cs
- XPathScanner.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- Socket.cs
- HwndProxyElementProvider.cs
- ButtonField.cs
- X509ChainPolicy.cs
- PersonalizableAttribute.cs
- Renderer.cs
- HttpStreamMessage.cs
- Soap.cs
- RedistVersionInfo.cs
- TypeSystem.cs
- AdjustableArrowCap.cs
- InputElement.cs
- pingexception.cs
- DetailsViewModeEventArgs.cs
- FixedElement.cs
- NullableDoubleMinMaxAggregationOperator.cs
- BindingListCollectionView.cs
- PathGeometry.cs
- ViewStateModeByIdAttribute.cs
- XPathNodeIterator.cs
- CaseInsensitiveHashCodeProvider.cs
- mactripleDES.cs
- InputReferenceExpression.cs
- AppDomainEvidenceFactory.cs
- PatternMatcher.cs
- ChildDocumentBlock.cs
- ProxyWebPartConnectionCollection.cs
- ConfigXmlText.cs
- relpropertyhelper.cs
- DataTemplateKey.cs
- EndpointIdentityExtension.cs
- BitmapCache.cs
- ProviderUtil.cs
- LayoutSettings.cs
- ScrollProperties.cs
- DefaultParameterValueAttribute.cs
- COM2ColorConverter.cs
- ConstructorNeedsTagAttribute.cs
- PointLight.cs
- DbConnectionHelper.cs
- Int32RectValueSerializer.cs
- SymbolEqualComparer.cs
- RpcCryptoRequest.cs
- SizeKeyFrameCollection.cs
- DocumentEventArgs.cs
- ChangeNode.cs
- ResourceAssociationSet.cs
- ClientRuntimeConfig.cs
- Constraint.cs
- SkewTransform.cs
- ItemCheckEvent.cs
- DataServiceRequestOfT.cs
- AxParameterData.cs
- MenuItemCollectionEditorDialog.cs
- METAHEADER.cs
- PrimitiveCodeDomSerializer.cs
- DockPanel.cs
- TemplateColumn.cs
- RegexMatch.cs
- XmlChildNodes.cs
- WebPartMenu.cs
- PTProvider.cs
- NestPullup.cs
- MetadataPropertyAttribute.cs
- UInt16.cs
- FileRecordSequence.cs
- Int16Converter.cs
- Wildcard.cs
- X509InitiatorCertificateServiceElement.cs
- GridViewRowPresenter.cs