Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Sockets / LingerOption.cs / 1305376 / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DbDataRecord.cs
- TraceRecords.cs
- SqlBulkCopy.cs
- ReferencedType.cs
- StorageInfo.cs
- CaseInsensitiveHashCodeProvider.cs
- HyperLink.cs
- CodeExpressionStatement.cs
- RadioButton.cs
- SqlColumnizer.cs
- CryptoConfig.cs
- IdentifierCollection.cs
- FilterElement.cs
- Int32Rect.cs
- SqlCacheDependencyDatabase.cs
- SqlOuterApplyReducer.cs
- ScaleTransform3D.cs
- HttpListenerException.cs
- TypeLoadException.cs
- WhitespaceSignificantCollectionAttribute.cs
- SynchronizationValidator.cs
- MarshalByRefObject.cs
- XmlSiteMapProvider.cs
- DesignerDataTable.cs
- AndCondition.cs
- ResXBuildProvider.cs
- NameValuePermission.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- EpmSourceTree.cs
- ChannelTracker.cs
- SqlFlattener.cs
- TextRangeEdit.cs
- AppendHelper.cs
- OracleInternalConnection.cs
- Rotation3DAnimation.cs
- OrderPreservingPipeliningMergeHelper.cs
- GregorianCalendarHelper.cs
- DirectoryRedirect.cs
- DNS.cs
- RemotingConfiguration.cs
- LassoHelper.cs
- ValueProviderWrapper.cs
- Codec.cs
- Missing.cs
- HttpChannelHelpers.cs
- HttpListenerRequest.cs
- SmiConnection.cs
- EntryIndex.cs
- JournalEntry.cs
- UnitySerializationHolder.cs
- DigitShape.cs
- PenThread.cs
- NativeWindow.cs
- MgmtConfigurationRecord.cs
- _UncName.cs
- IISMapPath.cs
- BitmapFrameEncode.cs
- WebPartCollection.cs
- XPathArrayIterator.cs
- Quad.cs
- AutoResizedEvent.cs
- XamlSerializationHelper.cs
- SizeKeyFrameCollection.cs
- CompilationUtil.cs
- SemanticTag.cs
- StylusPointPropertyInfo.cs
- DbConnectionPool.cs
- xmlfixedPageInfo.cs
- StickyNoteContentControl.cs
- Token.cs
- DynamicRenderer.cs
- Rectangle.cs
- MessageQueue.cs
- ColorConverter.cs
- ScrollItemProviderWrapper.cs
- ObjectConverter.cs
- ModelUIElement3D.cs
- C14NUtil.cs
- Matrix.cs
- SqlCachedBuffer.cs
- ActivityDesignerAccessibleObject.cs
- TextReader.cs
- HMACMD5.cs
- PersonalizablePropertyEntry.cs
- _FtpControlStream.cs
- CorrelationToken.cs
- KnownBoxes.cs
- CompositeControlDesigner.cs
- ResXResourceReader.cs
- DeploymentSectionCache.cs
- TableRowsCollectionEditor.cs
- ConstructorBuilder.cs
- Model3DGroup.cs
- IProvider.cs
- DynamicDataResources.Designer.cs
- Funcletizer.cs
- _SslState.cs
- SubstitutionResponseElement.cs
- IndexObject.cs
- ConnectionPoolManager.cs