Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Net / System / Net / Sockets / LingerOption.cs / 1 / 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. /// ///// 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
- HeaderUtility.cs
- ControlTemplate.cs
- EdmToObjectNamespaceMap.cs
- CmsInterop.cs
- LineMetrics.cs
- RouteTable.cs
- WindowsFormsEditorServiceHelper.cs
- Timeline.cs
- LZCodec.cs
- BamlLocalizableResourceKey.cs
- WebZone.cs
- Font.cs
- EntityContainerEntitySetDefiningQuery.cs
- CompositeScriptReference.cs
- XmlSchemaImporter.cs
- PointHitTestParameters.cs
- WithStatement.cs
- DataObject.cs
- RuleInfoComparer.cs
- MimeObjectFactory.cs
- TextDecorationCollectionConverter.cs
- StringConcat.cs
- PolicyException.cs
- SiteMapNodeCollection.cs
- XmlDataSourceNodeDescriptor.cs
- XmlSchemaSimpleTypeRestriction.cs
- MarkedHighlightComponent.cs
- JapaneseCalendar.cs
- StorageAssociationSetMapping.cs
- OwnerDrawPropertyBag.cs
- SessionEndingEventArgs.cs
- SoapIgnoreAttribute.cs
- ColumnWidthChangingEvent.cs
- PerformanceCounterPermissionEntry.cs
- SqlExpander.cs
- TextFormatterImp.cs
- BufferManager.cs
- SchemaSetCompiler.cs
- BaseProcessor.cs
- VirtualDirectoryMapping.cs
- HyperLink.cs
- DataRecordObjectView.cs
- FormsIdentity.cs
- ScalarType.cs
- VisualStateChangedEventArgs.cs
- XPathNodePointer.cs
- DbCommandTree.cs
- BindMarkupExtensionSerializer.cs
- FileStream.cs
- IdentitySection.cs
- ObjectHelper.cs
- EndOfStreamException.cs
- ServiceAuthorizationBehavior.cs
- XPathSelectionIterator.cs
- FontUnit.cs
- DefaultShape.cs
- TreeIterators.cs
- DataGridViewRowPostPaintEventArgs.cs
- ReliabilityContractAttribute.cs
- MobileSysDescriptionAttribute.cs
- NetSectionGroup.cs
- TypeElementCollection.cs
- UnsafeNativeMethods.cs
- SelectionWordBreaker.cs
- ApplyHostConfigurationBehavior.cs
- ManagementQuery.cs
- AtomMaterializer.cs
- WebBrowser.cs
- grammarelement.cs
- CharacterString.cs
- FontSource.cs
- ServiceX509SecurityTokenProvider.cs
- BaseValidator.cs
- LinkUtilities.cs
- RequestResizeEvent.cs
- TcpWorkerProcess.cs
- UnsafeNativeMethods.cs
- FlowDocumentReader.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- NTAccount.cs
- DataGridViewColumnCollection.cs
- DataTemplateKey.cs
- sapiproxy.cs
- ResourceExpression.cs
- TableItemStyle.cs
- Win32.cs
- NoResizeSelectionBorderGlyph.cs
- ArgumentNullException.cs
- LinkUtilities.cs
- ProfileProvider.cs
- TemplateContainer.cs
- SubclassTypeValidator.cs
- CmsInterop.cs
- DataControlFieldHeaderCell.cs
- TreeNodeCollection.cs
- Dispatcher.cs
- GridView.cs
- MessageSmuggler.cs
- HtmlInputControl.cs
- Blend.cs