Code:
/ DotNET / DotNET / 8.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
- DataShape.cs
- CommonXSendMessage.cs
- MessagePropertyDescription.cs
- CompilationLock.cs
- DataGridRowHeader.cs
- AdCreatedEventArgs.cs
- BrowserCapabilitiesFactory.cs
- FixedDocumentPaginator.cs
- CodeTypeDelegate.cs
- AsyncOperation.cs
- ClientTarget.cs
- RequestCachePolicy.cs
- XmlSignatureManifest.cs
- BrowsableAttribute.cs
- DodSequenceMerge.cs
- BaseValidator.cs
- BinaryWriter.cs
- SettingsAttributes.cs
- TextPointer.cs
- CatalogPart.cs
- dbdatarecord.cs
- DifferencingCollection.cs
- BitmapFrameDecode.cs
- TripleDES.cs
- ServiceContractViewControl.cs
- MergeLocalizationDirectives.cs
- IPEndPoint.cs
- LayoutEditorPart.cs
- PauseStoryboard.cs
- CodeDomConfigurationHandler.cs
- CodeCastExpression.cs
- WebConfigurationHostFileChange.cs
- XamlFxTrace.cs
- Viewport3DVisual.cs
- ElementNotEnabledException.cs
- CodeCatchClauseCollection.cs
- CancelRequestedQuery.cs
- ClrPerspective.cs
- DSASignatureDeformatter.cs
- AuthenticationSection.cs
- DoubleKeyFrameCollection.cs
- RoutedEventHandlerInfo.cs
- CmsInterop.cs
- COSERVERINFO.cs
- SmiContext.cs
- Validator.cs
- ScrollItemPatternIdentifiers.cs
- DmlSqlGenerator.cs
- WebPartTracker.cs
- ValueUtilsSmi.cs
- ExpressionBuilder.cs
- AsymmetricSignatureFormatter.cs
- SecurityImpersonationBehavior.cs
- CanonicalFormWriter.cs
- PrefixHandle.cs
- ClientSideQueueItem.cs
- Sorting.cs
- assemblycache.cs
- __Error.cs
- StylusOverProperty.cs
- UnicodeEncoding.cs
- PopupRoot.cs
- GetPageNumberCompletedEventArgs.cs
- XamlToRtfWriter.cs
- KeyFrames.cs
- ResourceExpressionEditor.cs
- AttributeCollection.cs
- WebPartChrome.cs
- Normalization.cs
- HostedElements.cs
- SqlStatistics.cs
- BoundingRectTracker.cs
- DrawingBrush.cs
- CaseStatement.cs
- LoadedOrUnloadedOperation.cs
- BitmapEffectState.cs
- X509Extension.cs
- WebEventCodes.cs
- StreamAsIStream.cs
- EventListenerClientSide.cs
- CDSsyncETWBCLProvider.cs
- BodyGlyph.cs
- GuidTagList.cs
- BufferedReadStream.cs
- Window.cs
- IUnknownConstantAttribute.cs
- PrivilegedConfigurationManager.cs
- WebPartExportVerb.cs
- XmlLanguageConverter.cs
- SingleBodyParameterMessageFormatter.cs
- RawTextInputReport.cs
- DropTarget.cs
- SqlOuterApplyReducer.cs
- IdentityNotMappedException.cs
- ContentPlaceHolderDesigner.cs
- DataContract.cs
- XmlProcessingInstruction.cs
- DetailsViewPageEventArgs.cs
- SmiSettersStream.cs
- HttpListenerResponse.cs