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
- filewebrequest.cs
- DataGridViewRowEventArgs.cs
- ModifierKeysConverter.cs
- HttpCookiesSection.cs
- BaseServiceProvider.cs
- DbProviderFactoriesConfigurationHandler.cs
- TcpClientSocketManager.cs
- DataObject.cs
- WeakReferenceList.cs
- TcpClientChannel.cs
- TTSEvent.cs
- CodeNamespace.cs
- XsltFunctions.cs
- Selector.cs
- DataTableClearEvent.cs
- SamlAssertion.cs
- X509Extension.cs
- Animatable.cs
- CodeTypeOfExpression.cs
- ProfileBuildProvider.cs
- TableAdapterManagerHelper.cs
- ParagraphResult.cs
- XmlILOptimizerVisitor.cs
- HideDisabledControlAdapter.cs
- KeyValuePairs.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- TextModifierScope.cs
- HashMembershipCondition.cs
- ComplusEndpointConfigContainer.cs
- FileStream.cs
- ComponentSerializationService.cs
- SimpleTextLine.cs
- HtmlTableRow.cs
- LeaseManager.cs
- dbdatarecord.cs
- CredentialSelector.cs
- VisualCollection.cs
- ToolboxItemAttribute.cs
- documentsequencetextpointer.cs
- StringArrayConverter.cs
- MouseButton.cs
- CollectionBase.cs
- TitleStyle.cs
- ConfigurationManagerInternal.cs
- RelationshipNavigation.cs
- GridViewSelectEventArgs.cs
- Hash.cs
- BindingCompleteEventArgs.cs
- TrackingCondition.cs
- PinnedBufferMemoryStream.cs
- CompressedStack.cs
- MenuCommand.cs
- ProfileGroupSettings.cs
- FrameworkObject.cs
- TemplateManager.cs
- AppDomainAttributes.cs
- HtmlSelect.cs
- D3DImage.cs
- SubpageParaClient.cs
- FloaterBaseParagraph.cs
- SettingsSection.cs
- PagerSettings.cs
- _SpnDictionary.cs
- MetadataUtil.cs
- CalendarDay.cs
- FactoryGenerator.cs
- Int64AnimationBase.cs
- Matrix.cs
- ImageSource.cs
- StringConverter.cs
- PhysicalFontFamily.cs
- ScriptControl.cs
- XmlAttributeOverrides.cs
- ParentQuery.cs
- Propagator.cs
- ToolStripItemRenderEventArgs.cs
- CheckBoxAutomationPeer.cs
- DashStyles.cs
- CorePropertiesFilter.cs
- Object.cs
- MappingItemCollection.cs
- SafePEFileHandle.cs
- FixedDocument.cs
- Schema.cs
- BindingManagerDataErrorEventArgs.cs
- InkCanvasSelection.cs
- XmlQualifiedName.cs
- EventOpcode.cs
- Propagator.ExtentPlaceholderCreator.cs
- BuildManager.cs
- ToolbarAUtomationPeer.cs
- AnnotationResource.cs
- SchemaLookupTable.cs
- UrlMappingsModule.cs
- StateDesigner.cs
- NetStream.cs
- COM2IProvidePropertyBuilderHandler.cs
- _ConnectionGroup.cs
- SmiEventStream.cs
- AccessKeyManager.cs