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
- CancellationHandlerDesigner.cs
- Array.cs
- ConfigXmlSignificantWhitespace.cs
- UITypeEditor.cs
- TaskHelper.cs
- TypeConverterAttribute.cs
- ModuleElement.cs
- ResXBuildProvider.cs
- PublisherIdentityPermission.cs
- UserControlBuildProvider.cs
- ListViewItemMouseHoverEvent.cs
- StandardCommands.cs
- SqlVisitor.cs
- TextServicesDisplayAttributePropertyRanges.cs
- GridViewActionList.cs
- SqlDataSourceAdvancedOptionsForm.cs
- ContextMenuService.cs
- AssemblyResolver.cs
- ServiceModelConfigurationElementCollection.cs
- HtmlButton.cs
- SiteMapSection.cs
- SymmetricKeyWrap.cs
- CustomLineCap.cs
- NullReferenceException.cs
- VirtualPath.cs
- MediaSystem.cs
- EventPrivateKey.cs
- Divide.cs
- AxHost.cs
- DataRelationPropertyDescriptor.cs
- AuthenticationModuleElementCollection.cs
- _ConnectStream.cs
- ErrorStyle.cs
- ErrorFormatterPage.cs
- PropertyFilterAttribute.cs
- Accessible.cs
- OleDbPropertySetGuid.cs
- XmlEntity.cs
- PersonalizationStateInfoCollection.cs
- CacheDependency.cs
- PageHandlerFactory.cs
- SamlSecurityToken.cs
- AuthenticationException.cs
- SkinBuilder.cs
- InvalidPrinterException.cs
- RangeBase.cs
- Typography.cs
- NameService.cs
- ClientTargetSection.cs
- FtpCachePolicyElement.cs
- PropertyFilterAttribute.cs
- DateTimeValueSerializer.cs
- UidPropertyAttribute.cs
- TimeoutException.cs
- Expression.cs
- SqlFactory.cs
- VisualStyleElement.cs
- WsrmFault.cs
- UndoEngine.cs
- HtmlTernaryTree.cs
- GeneralTransformGroup.cs
- WindowShowOrOpenTracker.cs
- RegistryPermission.cs
- WorkflowMarkupSerializer.cs
- Thread.cs
- IndentTextWriter.cs
- BehaviorDragDropEventArgs.cs
- RawKeyboardInputReport.cs
- ComplusTypeValidator.cs
- AssemblyInfo.cs
- WebControlParameterProxy.cs
- LockCookie.cs
- CheckBoxAutomationPeer.cs
- DesignerMetadata.cs
- HtmlTitle.cs
- PowerModeChangedEventArgs.cs
- ResetableIterator.cs
- TextClipboardData.cs
- ClientScriptManager.cs
- SpecialNameAttribute.cs
- SequenceDesignerAccessibleObject.cs
- ObsoleteAttribute.cs
- RSACryptoServiceProvider.cs
- InvokeDelegate.cs
- BamlResourceSerializer.cs
- DataGridViewTextBoxColumn.cs
- OleDbCommandBuilder.cs
- CodeFieldReferenceExpression.cs
- EndpointIdentityExtension.cs
- ManifestBasedResourceGroveler.cs
- ApplicationDirectoryMembershipCondition.cs
- Marshal.cs
- ValidationRule.cs
- ParenthesizePropertyNameAttribute.cs
- BinaryExpression.cs
- ConfigurationPropertyAttribute.cs
- SchemaNames.cs
- XmlSchemaRedefine.cs
- SymbolMethod.cs
- IRCollection.cs