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
- BaseParagraph.cs
- UInt64Converter.cs
- CellNormalizer.cs
- ToolStripContentPanel.cs
- EllipseGeometry.cs
- TimeStampChecker.cs
- InkPresenterAutomationPeer.cs
- Types.cs
- CheckBoxField.cs
- XmlSchemaParticle.cs
- ContextInformation.cs
- BamlTreeNode.cs
- KeyFrames.cs
- GlyphShapingProperties.cs
- WebAdminConfigurationHelper.cs
- TemplatedWizardStep.cs
- DataBindingCollection.cs
- RoutedEvent.cs
- PassportIdentity.cs
- XmlSerializerVersionAttribute.cs
- InstanceCreationEditor.cs
- HtmlButton.cs
- DesignTimeSiteMapProvider.cs
- PolicyException.cs
- Timer.cs
- GlyphInfoList.cs
- CatalogZoneBase.cs
- GeometryValueSerializer.cs
- ExceptionRoutedEventArgs.cs
- EncoderReplacementFallback.cs
- SqlTriggerContext.cs
- PartialArray.cs
- AttributeEmitter.cs
- SignatureHelper.cs
- TypeDependencyAttribute.cs
- InternalsVisibleToAttribute.cs
- SpellerError.cs
- Query.cs
- AnnotationHighlightLayer.cs
- MethodBody.cs
- XmlAttributeProperties.cs
- XmlTextReader.cs
- UnsafeNativeMethods.cs
- AggregateNode.cs
- AlphabeticalEnumConverter.cs
- TextDecorationCollection.cs
- SystemMulticastIPAddressInformation.cs
- IUnknownConstantAttribute.cs
- ExceptionValidationRule.cs
- ProfileParameter.cs
- FlowDocumentPage.cs
- SpoolingTaskBase.cs
- CodeGotoStatement.cs
- CallbackValidatorAttribute.cs
- ObjectDataSourceEventArgs.cs
- ResourceContainer.cs
- MobileListItemCollection.cs
- Module.cs
- TextParaLineResult.cs
- ProtocolsConfigurationEntry.cs
- mactripleDES.cs
- ProgressBar.cs
- DirtyTextRange.cs
- DBNull.cs
- XPathAncestorIterator.cs
- wgx_sdk_version.cs
- DSASignatureDeformatter.cs
- GlyphTypeface.cs
- DefaultProxySection.cs
- GACIdentityPermission.cs
- ToolboxBitmapAttribute.cs
- SizeLimitedCache.cs
- CodeArrayCreateExpression.cs
- XslAstAnalyzer.cs
- CriticalHandle.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- SolidColorBrush.cs
- WebServiceErrorEvent.cs
- WaitHandleCannotBeOpenedException.cs
- UnauthorizedAccessException.cs
- PassportIdentity.cs
- DispatchWrapper.cs
- XmlIncludeAttribute.cs
- VBIdentifierNameEditor.cs
- Pen.cs
- hwndwrapper.cs
- ReachPrintTicketSerializerAsync.cs
- StringComparer.cs
- NavigationPropertyEmitter.cs
- MemoryPressure.cs
- InputLanguageProfileNotifySink.cs
- ProfileGroupSettings.cs
- _NestedSingleAsyncResult.cs
- MultipartContentParser.cs
- Blend.cs
- ListDependantCardsRequest.cs
- smtppermission.cs
- DbProviderFactory.cs
- OleDbError.cs
- SessionStateContainer.cs