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
- GenericsNotImplementedException.cs
- ObjectCacheSettings.cs
- ComponentConverter.cs
- DataGridViewTextBoxColumn.cs
- FontCacheLogic.cs
- ButtonDesigner.cs
- WeakEventManager.cs
- PropertyDescriptor.cs
- StandardTransformFactory.cs
- BypassElement.cs
- EmptyEnumerator.cs
- TypefaceMetricsCache.cs
- XmlnsCache.cs
- DbMetaDataCollectionNames.cs
- XmlDataLoader.cs
- XmlEncoding.cs
- _BufferOffsetSize.cs
- StylusShape.cs
- TextEditor.cs
- ExtendedTransformFactory.cs
- MenuTracker.cs
- AstNode.cs
- RemotingConfigParser.cs
- StatusCommandUI.cs
- DocumentOrderQuery.cs
- DataTableMappingCollection.cs
- XsltSettings.cs
- AppSecurityManager.cs
- SoundPlayerAction.cs
- XmlAttributeCollection.cs
- SafeRegistryKey.cs
- FixedSOMElement.cs
- ILGenerator.cs
- PropertyChange.cs
- List.cs
- CodeIterationStatement.cs
- returneventsaver.cs
- MaskDescriptor.cs
- HScrollProperties.cs
- Keyboard.cs
- DBBindings.cs
- MultiAsyncResult.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PointValueSerializer.cs
- CryptoStream.cs
- StylusPointProperty.cs
- FtpWebRequest.cs
- EdmProviderManifest.cs
- GradientBrush.cs
- JobInputBins.cs
- WebBrowsableAttribute.cs
- XmlMembersMapping.cs
- CollaborationHelperFunctions.cs
- IdentifierService.cs
- ComponentEditorForm.cs
- XmlSchemaComplexContentRestriction.cs
- InvokeHandlers.cs
- IncrementalCompileAnalyzer.cs
- ControlIdConverter.cs
- TextEditorCopyPaste.cs
- ConnectorSelectionGlyph.cs
- SocketElement.cs
- NonNullItemCollection.cs
- PolicyException.cs
- ScrollChrome.cs
- AnnotationAdorner.cs
- Choices.cs
- IssuanceLicense.cs
- StringWriter.cs
- SqlRetyper.cs
- XAMLParseException.cs
- HwndTarget.cs
- WindowsTokenRoleProvider.cs
- ImageButton.cs
- OneToOneMappingSerializer.cs
- FragmentQuery.cs
- XamlGridLengthSerializer.cs
- DynamicILGenerator.cs
- ToolStripScrollButton.cs
- DataRow.cs
- BufferModeSettings.cs
- ResourcePool.cs
- PackageProperties.cs
- SHA256Managed.cs
- DecimalAnimationUsingKeyFrames.cs
- Quad.cs
- SoapIgnoreAttribute.cs
- WebPageTraceListener.cs
- XamlPointCollectionSerializer.cs
- RowsCopiedEventArgs.cs
- HttpRuntimeSection.cs
- GlyphingCache.cs
- TriggerAction.cs
- CompositeActivityTypeDescriptorProvider.cs
- xsdvalidator.cs
- GridViewCommandEventArgs.cs
- DynamicActivityXamlReader.cs
- ContextBase.cs
- ProcessManager.cs
- StringAttributeCollection.cs