Code:
/ DotNET / DotNET / 8.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
- IISUnsafeMethods.cs
- ViewStateException.cs
- PropertyMapper.cs
- WindowsNonControl.cs
- GlyphsSerializer.cs
- DefaultBindingPropertyAttribute.cs
- MsmqInputSessionChannel.cs
- SoapHttpTransportImporter.cs
- CachedPathData.cs
- TextBox.cs
- SplineKeyFrames.cs
- EntityDataSourceContextCreatingEventArgs.cs
- TextTreeRootNode.cs
- DrawingState.cs
- FixedSOMGroup.cs
- Point3DCollection.cs
- ColumnMapTranslator.cs
- ToolStripPanelSelectionBehavior.cs
- LocatorPartList.cs
- OdbcConnectionStringbuilder.cs
- CellParagraph.cs
- UidManager.cs
- PropertyDescriptorGridEntry.cs
- WmlCommandAdapter.cs
- ColumnMapTranslator.cs
- JoinGraph.cs
- UxThemeWrapper.cs
- NotifyCollectionChangedEventArgs.cs
- ObjectDataSourceView.cs
- StoryFragments.cs
- PointIndependentAnimationStorage.cs
- DesignerRegionCollection.cs
- CodeCommentStatement.cs
- SqlFunctionAttribute.cs
- RC2.cs
- PropertyCondition.cs
- WeakEventTable.cs
- MdiWindowListItemConverter.cs
- ImageSourceConverter.cs
- DataServiceOperationContext.cs
- smtppermission.cs
- BatchStream.cs
- SoapCodeExporter.cs
- HttpResponse.cs
- Misc.cs
- HMACSHA512.cs
- Stack.cs
- WindowsEditBox.cs
- CollectionViewGroupRoot.cs
- DescendantBaseQuery.cs
- Sequence.cs
- EmptyStringExpandableObjectConverter.cs
- X509AsymmetricSecurityKey.cs
- AlternateView.cs
- DataIdProcessor.cs
- ExpressionHelper.cs
- DataSourceHelper.cs
- EnumerableRowCollection.cs
- UnauthorizedWebPart.cs
- PersonalizableTypeEntry.cs
- SafeRegistryKey.cs
- PolicyException.cs
- ContentAlignmentEditor.cs
- Label.cs
- OrderedDictionaryStateHelper.cs
- SoapConverter.cs
- DbMetaDataCollectionNames.cs
- Literal.cs
- XslCompiledTransform.cs
- ClassHandlersStore.cs
- ComponentResourceManager.cs
- PointLightBase.cs
- FileStream.cs
- ResXBuildProvider.cs
- FontUnitConverter.cs
- SqlUDTStorage.cs
- MultipartIdentifier.cs
- XmlSchemaGroup.cs
- ConnectionManagementElement.cs
- DataBinding.cs
- ArgIterator.cs
- MatrixTransform.cs
- SQLMoneyStorage.cs
- ResourcesGenerator.cs
- DispatcherObject.cs
- NumberFunctions.cs
- List.cs
- FtpWebResponse.cs
- XmlSecureResolver.cs
- ObjectMemberMapping.cs
- RuntimeResourceSet.cs
- AutomationElement.cs
- Screen.cs
- LayoutTable.cs
- PrintPreviewGraphics.cs
- MetadataConversionError.cs
- SrgsSubset.cs
- MULTI_QI.cs
- MetadataPropertyAttribute.cs
- _SslState.cs