Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- HighlightComponent.cs
- ToolStripItemCollection.cs
- Menu.cs
- MimeFormImporter.cs
- ObjectConverter.cs
- AssemblyBuilder.cs
- MediaElementAutomationPeer.cs
- Code.cs
- ProviderUtil.cs
- ArrayWithOffset.cs
- ExpandCollapseProviderWrapper.cs
- WebErrorHandler.cs
- GZipStream.cs
- SqlReorderer.cs
- MemoryFailPoint.cs
- NameSpaceExtractor.cs
- oledbmetadatacollectionnames.cs
- ValidatingReaderNodeData.cs
- Rotation3D.cs
- DataFieldCollectionEditor.cs
- MeasureItemEvent.cs
- SymLanguageType.cs
- XmlSchemaAny.cs
- SQLBinaryStorage.cs
- XmlNamespaceManager.cs
- TemplatePartAttribute.cs
- ContextMenuStripActionList.cs
- ExpandableObjectConverter.cs
- ProgressBarHighlightConverter.cs
- DynamicPropertyHolder.cs
- Int32KeyFrameCollection.cs
- DeviceSpecificChoiceCollection.cs
- StandardToolWindows.cs
- Operand.cs
- PageBuildProvider.cs
- TypeConverter.cs
- WindowsGraphics.cs
- EntitySetBase.cs
- EventLogPermissionEntry.cs
- DataSourceCache.cs
- SessionState.cs
- GPStream.cs
- ServerValidateEventArgs.cs
- PropertyEntry.cs
- MiniConstructorInfo.cs
- TypeSystem.cs
- StateChangeEvent.cs
- SelectionHighlightInfo.cs
- ProgressBarAutomationPeer.cs
- SqlDataSourceView.cs
- SimpleTypeResolver.cs
- TextServicesCompartment.cs
- GroupStyle.cs
- SmtpClient.cs
- TraceSection.cs
- Span.cs
- _NegotiateClient.cs
- XmlElementCollection.cs
- LocalValueEnumerator.cs
- Nodes.cs
- ToolZone.cs
- DataFormats.cs
- ModelUIElement3D.cs
- BinaryCommonClasses.cs
- followingsibling.cs
- DataRecord.cs
- DetailsViewCommandEventArgs.cs
- DynamicField.cs
- StructureChangedEventArgs.cs
- ListCommandEventArgs.cs
- IISUnsafeMethods.cs
- FilterableAttribute.cs
- HtmlInputHidden.cs
- AppDomainProtocolHandler.cs
- Frame.cs
- CommentAction.cs
- Header.cs
- CapacityStreamGeometryContext.cs
- InheritanceRules.cs
- TraceRecord.cs
- DocumentPageViewAutomationPeer.cs
- ThemeDictionaryExtension.cs
- ByteStack.cs
- OptimisticConcurrencyException.cs
- SetState.cs
- EntityUtil.cs
- FixUp.cs
- ServicePointManagerElement.cs
- GenericTextProperties.cs
- DependentTransaction.cs
- TargetConverter.cs
- DataGridViewComboBoxColumn.cs
- UnsignedPublishLicense.cs
- FormatConvertedBitmap.cs
- CompiledQuery.cs
- RegexCharClass.cs
- MediaTimeline.cs
- RegistrySecurity.cs
- ComMethodElementCollection.cs
- PageContent.cs