Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HeaderUtility.cs
- WebPartConnectVerb.cs
- FontStyleConverter.cs
- MetaModel.cs
- PointAnimationUsingPath.cs
- MiniLockedBorderGlyph.cs
- NextPreviousPagerField.cs
- DebugHandleTracker.cs
- SoapReflectionImporter.cs
- AccessControlList.cs
- RequestTimeoutManager.cs
- CoreSwitches.cs
- TypeUsage.cs
- CurrencyWrapper.cs
- NestPullup.cs
- HwndPanningFeedback.cs
- WSHttpBindingElement.cs
- WebPartChrome.cs
- ToolStripDropDownButton.cs
- StaticDataManager.cs
- IsolatedStorageFileStream.cs
- KeysConverter.cs
- PreviewPrintController.cs
- QilChoice.cs
- SafeThreadHandle.cs
- XmlDesignerDataSourceView.cs
- nulltextnavigator.cs
- GZipUtils.cs
- recordstate.cs
- TextModifier.cs
- PagesChangedEventArgs.cs
- CellParaClient.cs
- Subtree.cs
- HtmlSelect.cs
- GrammarBuilderWildcard.cs
- ElementProxy.cs
- InstanceDescriptor.cs
- InputBinding.cs
- ToolBarButtonClickEvent.cs
- DrawingAttributesDefaultValueFactory.cs
- TransformDescriptor.cs
- KnownBoxes.cs
- Solver.cs
- ButtonDesigner.cs
- CustomWebEventKey.cs
- TraceContextEventArgs.cs
- DocumentCollection.cs
- KnownBoxes.cs
- tooltip.cs
- TableRowsCollectionEditor.cs
- ConfigurationElementProperty.cs
- DbTransaction.cs
- StaticResourceExtension.cs
- PackageRelationshipSelector.cs
- ComEventsHelper.cs
- ComMethodElementCollection.cs
- LayoutSettings.cs
- DataSysAttribute.cs
- PermissionSetTriple.cs
- ArraySortHelper.cs
- DnsPermission.cs
- Lasso.cs
- HierarchicalDataSourceConverter.cs
- baseshape.cs
- HttpCapabilitiesEvaluator.cs
- EventRoute.cs
- AsyncOperationManager.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- X509CertificateChain.cs
- PngBitmapEncoder.cs
- PhysicalOps.cs
- TextFormatterHost.cs
- ArcSegment.cs
- ImageConverter.cs
- TextParaClient.cs
- ZipPackage.cs
- DataGridViewMethods.cs
- LassoHelper.cs
- SessionStateItemCollection.cs
- Grid.cs
- DocumentPage.cs
- XmlSchemaSet.cs
- DefaultHttpHandler.cs
- X509ChainElement.cs
- FontStretchConverter.cs
- SHA512.cs
- httpapplicationstate.cs
- ToolStripRendererSwitcher.cs
- SafePEFileHandle.cs
- XmlIterators.cs
- PointF.cs
- FixedSOMPageElement.cs
- XPathNodePointer.cs
- SkipStoryboardToFill.cs
- EnumValAlphaComparer.cs
- SHA256Managed.cs
- ClientData.cs
- Parser.cs
- SQLCharsStorage.cs
- InstanceData.cs