Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlSchemaAnnotated.cs
- FileEnumerator.cs
- TemplateKey.cs
- BuildManagerHost.cs
- WebPartManagerInternals.cs
- UnsafeNativeMethods.cs
- ConfigurationLocation.cs
- CoTaskMemUnicodeSafeHandle.cs
- MonitoringDescriptionAttribute.cs
- IdentifierService.cs
- MinimizableAttributeTypeConverter.cs
- connectionpool.cs
- ProfileEventArgs.cs
- SqlDependencyUtils.cs
- RuleElement.cs
- ProcessModelInfo.cs
- ListControlBoundActionList.cs
- EmptyCollection.cs
- Content.cs
- ImageMapEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Splitter.cs
- SelectionChangedEventArgs.cs
- SetStateEventArgs.cs
- IdentityReference.cs
- StopRoutingHandler.cs
- PerfCounterSection.cs
- ReflectionUtil.cs
- ObsoleteAttribute.cs
- PartitionResolver.cs
- NestPullup.cs
- InstanceNotFoundException.cs
- ProcessThreadCollection.cs
- _UriSyntax.cs
- ChildTable.cs
- WebPartDeleteVerb.cs
- BuildProviderUtils.cs
- NetworkCredential.cs
- FontWeight.cs
- SamlAuthenticationClaimResource.cs
- BackStopAuthenticationModule.cs
- DataGridViewSelectedCellCollection.cs
- _NegotiateClient.cs
- InputGestureCollection.cs
- Rule.cs
- WebZone.cs
- XmlSchemaSet.cs
- EventSinkActivity.cs
- DelayLoadType.cs
- Transactions.cs
- DialogResultConverter.cs
- CommandField.cs
- OpenFileDialog.cs
- ValidationSummary.cs
- CheckBoxRenderer.cs
- KeyboardEventArgs.cs
- OdbcInfoMessageEvent.cs
- DataView.cs
- AutomationPatternInfo.cs
- DrawListViewItemEventArgs.cs
- StringExpressionSet.cs
- SqlCacheDependency.cs
- TrackPoint.cs
- XmlSerializerVersionAttribute.cs
- CommandField.cs
- GeneratedCodeAttribute.cs
- BuildProvider.cs
- Identifier.cs
- Assert.cs
- DocumentSequenceHighlightLayer.cs
- XomlCompilerError.cs
- ReplacementText.cs
- Attributes.cs
- _FtpDataStream.cs
- NonSerializedAttribute.cs
- AmbientLight.cs
- AttributeExtensions.cs
- mediaeventshelper.cs
- PasswordPropertyTextAttribute.cs
- FieldAccessException.cs
- CompressionTransform.cs
- CustomTrackingQuery.cs
- SelectionEditor.cs
- DateTime.cs
- UInt16Converter.cs
- ItemCheckEvent.cs
- DataObjectFieldAttribute.cs
- EditingScope.cs
- SerializationAttributes.cs
- ApplicationFileCodeDomTreeGenerator.cs
- AsyncContentLoadedEventArgs.cs
- SafeSecurityHandles.cs
- TraceHandlerErrorFormatter.cs
- MULTI_QI.cs
- ClockController.cs
- HandlerBase.cs
- ResourceDictionaryCollection.cs
- XmlArrayItemAttribute.cs
- TextEffectCollection.cs
- ProfileEventArgs.cs