Code:
/ FX-1434 / FX-1434 / 1.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
- X509SecurityToken.cs
- OracleConnectionStringBuilder.cs
- SchemaTableColumn.cs
- XmlWellformedWriterHelpers.cs
- TextEditorDragDrop.cs
- WebBrowsableAttribute.cs
- MaskDescriptor.cs
- BitmapSizeOptions.cs
- JavascriptCallbackResponseProperty.cs
- BlurEffect.cs
- BamlRecordWriter.cs
- CompatibleIComparer.cs
- DbInsertCommandTree.cs
- StringFormat.cs
- ProjectedWrapper.cs
- HttpValueCollection.cs
- LinearGradientBrush.cs
- TypeBuilderInstantiation.cs
- SimpleType.cs
- SQLDoubleStorage.cs
- DataSvcMapFileSerializer.cs
- DBCommandBuilder.cs
- NativeRightsManagementAPIsStructures.cs
- AmbientValueAttribute.cs
- SignatureConfirmationElement.cs
- SrgsToken.cs
- FacetDescriptionElement.cs
- ClockGroup.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- WebPart.cs
- SqlProcedureAttribute.cs
- Control.cs
- ApplicationBuildProvider.cs
- PeerApplicationLaunchInfo.cs
- ComboBoxRenderer.cs
- PerfService.cs
- PanelStyle.cs
- XamlValidatingReader.cs
- MenuItemAutomationPeer.cs
- NamespaceEmitter.cs
- ActivityInterfaces.cs
- SortQueryOperator.cs
- SqlCachedBuffer.cs
- RSAPKCS1SignatureDeformatter.cs
- ToolStripButton.cs
- EpmHelper.cs
- SolidColorBrush.cs
- TableRowCollection.cs
- OdbcConnectionFactory.cs
- ClientScriptItem.cs
- TextFormatterImp.cs
- MatchAllMessageFilter.cs
- BaseParagraph.cs
- DataControlExtensions.cs
- Point3DAnimation.cs
- MinimizableAttributeTypeConverter.cs
- TextEditorLists.cs
- CommunicationObjectManager.cs
- EntityDataSourceContextCreatingEventArgs.cs
- MemberHolder.cs
- CodeSnippetTypeMember.cs
- validationstate.cs
- RuleAttributes.cs
- InstanceLockException.cs
- FixUp.cs
- CalendarDayButton.cs
- WizardPanel.cs
- SafeProcessHandle.cs
- SqlDelegatedTransaction.cs
- QuadraticEase.cs
- MaterialGroup.cs
- TextEffect.cs
- InvalidEnumArgumentException.cs
- RadioButtonList.cs
- BitmapPalettes.cs
- SerializationStore.cs
- TableHeaderCell.cs
- PaperSource.cs
- RelOps.cs
- XamlVector3DCollectionSerializer.cs
- ClientBuildManager.cs
- NativeDirectoryServicesQueryAPIs.cs
- EdmProviderManifest.cs
- ComponentCommands.cs
- MimeMapping.cs
- VerificationException.cs
- CookieParameter.cs
- ReturnType.cs
- VisualStyleTypesAndProperties.cs
- StoreItemCollection.Loader.cs
- MultiDataTrigger.cs
- SortQuery.cs
- SRGSCompiler.cs
- Utility.cs
- Html32TextWriter.cs
- FigureParagraph.cs
- ConnectorMovedEventArgs.cs
- srgsitem.cs
- ItemDragEvent.cs
- RoleGroupCollectionEditor.cs