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
- _SpnDictionary.cs
- ToolStripItemImageRenderEventArgs.cs
- ScriptControlDescriptor.cs
- AssemblyFilter.cs
- FutureFactory.cs
- Cloud.cs
- DbParameterCollection.cs
- XmlLoader.cs
- FixedHyperLink.cs
- XmlSerializerAssemblyAttribute.cs
- figurelengthconverter.cs
- TdsParserSessionPool.cs
- TextViewSelectionProcessor.cs
- DataGridViewRowCollection.cs
- XNameConverter.cs
- XmlDeclaration.cs
- Utility.cs
- CommonEndpointBehaviorElement.cs
- DataGridViewCellStyleBuilderDialog.cs
- SecureConversationDriver.cs
- FixedSOMFixedBlock.cs
- _DisconnectOverlappedAsyncResult.cs
- RowsCopiedEventArgs.cs
- PageEventArgs.cs
- QueryCacheEntry.cs
- Base64Stream.cs
- Setter.cs
- OrderByBuilder.cs
- SrgsRulesCollection.cs
- GridItem.cs
- SmtpReplyReader.cs
- PropertyTab.cs
- selecteditemcollection.cs
- NullableLongAverageAggregationOperator.cs
- OLEDB_Util.cs
- CodeAttributeDeclaration.cs
- AuthenticodeSignatureInformation.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- Hex.cs
- KeyedPriorityQueue.cs
- HttpClientCredentialType.cs
- GiveFeedbackEventArgs.cs
- SystemDropShadowChrome.cs
- AesCryptoServiceProvider.cs
- DataServiceRequestOfT.cs
- RootProjectionNode.cs
- AccessKeyManager.cs
- DrawListViewColumnHeaderEventArgs.cs
- AssemblyHelper.cs
- SingleAnimationUsingKeyFrames.cs
- SiteMapNodeCollection.cs
- WebConfigurationHost.cs
- InlineUIContainer.cs
- RuntimeConfig.cs
- TraceFilter.cs
- WebChannelFactory.cs
- ECDiffieHellmanCng.cs
- ToolStripButton.cs
- ReflectionTypeLoadException.cs
- Cloud.cs
- ConnectionManagementElementCollection.cs
- RequestBringIntoViewEventArgs.cs
- TextFormatter.cs
- CompilationUnit.cs
- WmiPutTraceRecord.cs
- SessionSwitchEventArgs.cs
- BCryptSafeHandles.cs
- PassportAuthenticationModule.cs
- LabelInfo.cs
- SqlException.cs
- GuidConverter.cs
- XmlSchemaImporter.cs
- StrokeNode.cs
- XPathScanner.cs
- UnconditionalPolicy.cs
- Panel.cs
- MethodRental.cs
- ProfileProvider.cs
- MethodCallTranslator.cs
- WebConfigurationFileMap.cs
- InstallerTypeAttribute.cs
- LinkButton.cs
- Screen.cs
- ConsumerConnectionPoint.cs
- ChoiceConverter.cs
- AnnotationHighlightLayer.cs
- CodeRemoveEventStatement.cs
- Int64Converter.cs
- ProgressBarRenderer.cs
- ProjectedSlot.cs
- TreePrinter.cs
- NominalTypeEliminator.cs
- FunctionDetailsReader.cs
- ValidationResults.cs
- StringUtil.cs
- XmlSignatureManifest.cs
- ListCommandEventArgs.cs
- Section.cs
- ClientSponsor.cs
- IsolatedStoragePermission.cs