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
- TakeQueryOptionExpression.cs
- ThreadStateException.cs
- UnmanagedMemoryStreamWrapper.cs
- Utils.cs
- WebPartCatalogCloseVerb.cs
- OptimizerPatterns.cs
- SingleObjectCollection.cs
- MexHttpBindingElement.cs
- ScrollBarRenderer.cs
- DirectoryInfo.cs
- AnnotationDocumentPaginator.cs
- LabelLiteral.cs
- SourceFileBuildProvider.cs
- PtsHost.cs
- ButtonBaseAutomationPeer.cs
- XPathSelfQuery.cs
- AnnotationHighlightLayer.cs
- basecomparevalidator.cs
- SspiWrapper.cs
- TemplateColumn.cs
- GestureRecognitionResult.cs
- SerializableAttribute.cs
- ResourceDictionary.cs
- ResourceReferenceExpressionConverter.cs
- DesignOnlyAttribute.cs
- XmlUtil.cs
- GridViewRowEventArgs.cs
- HttpListenerRequest.cs
- AccessDataSource.cs
- DbModificationClause.cs
- SessionIDManager.cs
- Context.cs
- _ProxyRegBlob.cs
- Trigger.cs
- ProviderConnectionPointCollection.cs
- CssClassPropertyAttribute.cs
- DocumentAutomationPeer.cs
- WindowsIPAddress.cs
- WindowsListView.cs
- RenderCapability.cs
- GridViewColumnCollection.cs
- MonitoringDescriptionAttribute.cs
- DrawingVisual.cs
- Vector3DKeyFrameCollection.cs
- LineServicesCallbacks.cs
- SafeLocalMemHandle.cs
- SurrogateSelector.cs
- ParameterExpression.cs
- TraceFilter.cs
- DataListCommandEventArgs.cs
- StackOverflowException.cs
- DataGridViewAccessibleObject.cs
- Graphics.cs
- StorageRoot.cs
- BindingCollection.cs
- Listbox.cs
- ErrorWrapper.cs
- XamlFilter.cs
- BindingExpressionUncommonField.cs
- DiscoveryReference.cs
- PlatformCulture.cs
- HttpVersion.cs
- RSAPKCS1SignatureDeformatter.cs
- BCLDebug.cs
- WhitespaceRule.cs
- PrivacyNoticeElement.cs
- RuleInfoComparer.cs
- BinaryFormatterWriter.cs
- TextBlockAutomationPeer.cs
- XPathNodeInfoAtom.cs
- Crc32.cs
- Compiler.cs
- OdbcReferenceCollection.cs
- wgx_render.cs
- UserValidatedEventArgs.cs
- ServiceRouteHandler.cs
- Helpers.cs
- DuplexClientBase.cs
- Model3DGroup.cs
- HtmlInputButton.cs
- FixedLineResult.cs
- WhitespaceSignificantCollectionAttribute.cs
- SiteIdentityPermission.cs
- UInt32Storage.cs
- TextLine.cs
- DiffuseMaterial.cs
- SerialReceived.cs
- PropertyItemInternal.cs
- DbConnectionStringBuilder.cs
- DrawItemEvent.cs
- ConfigurationSettings.cs
- SeparatorAutomationPeer.cs
- HtmlInputPassword.cs
- SwitchExpression.cs
- RequestBringIntoViewEventArgs.cs
- Baml2006ReaderFrame.cs
- PreservationFileWriter.cs
- OpenFileDialog.cs
- Content.cs
- SessionStateModule.cs