Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Sockets / LingerOption.cs / 1305376 / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextBox.cs
- FormatterServicesNoSerializableCheck.cs
- ViewValidator.cs
- ContextStaticAttribute.cs
- CmsInterop.cs
- InvokeMethodActivityDesigner.cs
- SoapExtension.cs
- SafeEventLogWriteHandle.cs
- XmlSchemaValidator.cs
- ProgressChangedEventArgs.cs
- httpapplicationstate.cs
- StatusBarDrawItemEvent.cs
- GeometryModel3D.cs
- XPathAncestorIterator.cs
- ExpressionSelection.cs
- IOThreadTimer.cs
- FrugalMap.cs
- ImageList.cs
- TabItemAutomationPeer.cs
- Rotation3D.cs
- x509store.cs
- RuleSettingsCollection.cs
- Vector3DConverter.cs
- LazyLoadBehavior.cs
- ExtractorMetadata.cs
- EllipseGeometry.cs
- HostingPreferredMapPath.cs
- LazyInitializer.cs
- QuaternionAnimationBase.cs
- WindowsPrincipal.cs
- XmlDownloadManager.cs
- BinaryNode.cs
- IgnorePropertiesAttribute.cs
- WorkflowMarkupSerializerMapping.cs
- MILUtilities.cs
- ItemsChangedEventArgs.cs
- TrackingMemoryStreamFactory.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- Tablet.cs
- AnnotationStore.cs
- FilteredAttributeCollection.cs
- FormViewDeleteEventArgs.cs
- CapabilitiesState.cs
- RelationshipType.cs
- ISessionStateStore.cs
- X509Extension.cs
- PersonalizationProviderHelper.cs
- DataGridViewCellCancelEventArgs.cs
- ProcessStartInfo.cs
- PartialCachingAttribute.cs
- SizeAnimationBase.cs
- NetworkStream.cs
- ControlBindingsCollection.cs
- DecoderBestFitFallback.cs
- ComponentEditorForm.cs
- EventSetter.cs
- ExpressionNormalizer.cs
- TemplatedEditableDesignerRegion.cs
- CultureData.cs
- InternalUserCancelledException.cs
- PrintEvent.cs
- CLSCompliantAttribute.cs
- AddDataControlFieldDialog.cs
- AQNBuilder.cs
- SecurityUtils.cs
- DataGridViewCellEventArgs.cs
- TimeoutValidationAttribute.cs
- ToolStripPanel.cs
- NavigationProgressEventArgs.cs
- QuaternionRotation3D.cs
- TextTreeText.cs
- XmlQueryTypeFactory.cs
- DbConnectionStringCommon.cs
- ProfileService.cs
- DeferredSelectedIndexReference.cs
- XmlValidatingReader.cs
- WindowsFormsEditorServiceHelper.cs
- COAUTHINFO.cs
- LocalValueEnumerator.cs
- CommonDialog.cs
- BitmapPalette.cs
- HtmlValidatorAdapter.cs
- SqlVersion.cs
- OracleCommand.cs
- CodePageEncoding.cs
- TransmissionStrategy.cs
- FreezableCollection.cs
- StringBuilder.cs
- columnmapfactory.cs
- AspNetSynchronizationContext.cs
- ApplicationBuildProvider.cs
- AssemblyCollection.cs
- DoubleLink.cs
- ToolStripSeparatorRenderEventArgs.cs
- BrowserTree.cs
- InternalsVisibleToAttribute.cs
- SessionStateSection.cs
- HttpWebRequest.cs
- EastAsianLunisolarCalendar.cs
- RichTextBox.cs