Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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/// 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
- ListenerElementsCollection.cs
- ProcessModelInfo.cs
- Empty.cs
- ResourceManagerWrapper.cs
- UrlMappingsModule.cs
- DeflateStream.cs
- DesignerForm.cs
- loginstatus.cs
- FigureParagraph.cs
- ContextBase.cs
- DataKey.cs
- PostBackOptions.cs
- DateTimeParse.cs
- DragStartedEventArgs.cs
- HttpHeaderCollection.cs
- WebUtil.cs
- MarkupCompiler.cs
- WindowsListViewItemCheckBox.cs
- SqlDataSourceCommandParser.cs
- TextCompositionManager.cs
- MsmqException.cs
- FontFamilyValueSerializer.cs
- SqlDataReaderSmi.cs
- QueryOutputWriter.cs
- QilIterator.cs
- SystemResources.cs
- CqlLexerHelpers.cs
- FieldNameLookup.cs
- BookmarkTable.cs
- MembershipSection.cs
- CollectionDataContractAttribute.cs
- DataFormats.cs
- AnnotationAuthorChangedEventArgs.cs
- SetterBaseCollection.cs
- ConfigurationStrings.cs
- ColumnWidthChangedEvent.cs
- ParameterExpression.cs
- HwndSourceParameters.cs
- X509CertificateStore.cs
- BehaviorService.cs
- SqlMultiplexer.cs
- ToolStripProgressBar.cs
- ImageSourceConverter.cs
- DelegatingTypeDescriptionProvider.cs
- RelationshipEndMember.cs
- ColumnHeaderConverter.cs
- AuthenticationManager.cs
- Visitors.cs
- BehaviorEditorPart.cs
- Glyph.cs
- MemberRestriction.cs
- EntityRecordInfo.cs
- SignatureHelper.cs
- SecurityContextSecurityTokenResolver.cs
- SimpleRecyclingCache.cs
- HostedAspNetEnvironment.cs
- Binding.cs
- DataGridViewRowPostPaintEventArgs.cs
- ListItemParagraph.cs
- ActivityCollectionMarkupSerializer.cs
- TemplateComponentConnector.cs
- TextRangeEditTables.cs
- DotExpr.cs
- ClassicBorderDecorator.cs
- FieldBuilder.cs
- TextBoxView.cs
- BevelBitmapEffect.cs
- CompatibleComparer.cs
- CharacterShapingProperties.cs
- CodeAccessSecurityEngine.cs
- Stackframe.cs
- TripleDESCryptoServiceProvider.cs
- ServiceReference.cs
- WebPartEditorCancelVerb.cs
- DataGridColumnCollection.cs
- ProcessManager.cs
- DataGridViewRowPrePaintEventArgs.cs
- ConversionValidationRule.cs
- DependencyPropertyAttribute.cs
- BamlLocalizabilityResolver.cs
- ExtractorMetadata.cs
- SqlProcedureAttribute.cs
- ChoiceConverter.cs
- NativeMethods.cs
- AttachmentService.cs
- XmlSerializer.cs
- DataGridCaption.cs
- SqlOuterApplyReducer.cs
- CssStyleCollection.cs
- ThreadStaticAttribute.cs
- SByteConverter.cs
- XPathAncestorIterator.cs
- SqlLiftIndependentRowExpressions.cs
- CodeExporter.cs
- Lock.cs
- GeometryModel3D.cs
- Symbol.cs
- TypeInitializationException.cs
- PackagingUtilities.cs
- _ChunkParse.cs