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
- CompressedStack.cs
- HttpCapabilitiesSectionHandler.cs
- LoginView.cs
- DiagnosticTrace.cs
- ProcessThread.cs
- NativeMethods.cs
- RuleSetDialog.cs
- IndexedGlyphRun.cs
- FixedSOMElement.cs
- OleDbRowUpdatingEvent.cs
- DelegateSerializationHolder.cs
- PropertySourceInfo.cs
- PenCursorManager.cs
- _NetworkingPerfCounters.cs
- ProtectedConfigurationProviderCollection.cs
- WebPartEditorApplyVerb.cs
- HtmlInputImage.cs
- MetadataPropertyvalue.cs
- DataRow.cs
- TypeForwardedToAttribute.cs
- FixedTextBuilder.cs
- ToolStripOverflowButton.cs
- SqlExpander.cs
- EncoderFallback.cs
- DataContractSerializerOperationBehavior.cs
- Monitor.cs
- SystemMulticastIPAddressInformation.cs
- DataQuery.cs
- StreamAsIStream.cs
- NominalTypeEliminator.cs
- FormDocumentDesigner.cs
- MetadataArtifactLoaderResource.cs
- StandardCommands.cs
- EntityDataSourceUtil.cs
- VisualTarget.cs
- ManualResetEvent.cs
- PreviewPrintController.cs
- FixedPageProcessor.cs
- StringFreezingAttribute.cs
- VScrollBar.cs
- Binding.cs
- FileRegion.cs
- StrokeCollectionConverter.cs
- SettingsBindableAttribute.cs
- PieceNameHelper.cs
- ThreadStateException.cs
- MethodBody.cs
- InvalidContentTypeException.cs
- ArrangedElement.cs
- ApplicationActivator.cs
- SHA512Cng.cs
- StylusCaptureWithinProperty.cs
- DataListItemCollection.cs
- SHA1.cs
- PathFigureCollectionConverter.cs
- SharedPerformanceCounter.cs
- DebugView.cs
- COM2PictureConverter.cs
- CompletedAsyncResult.cs
- DocumentViewer.cs
- XslVisitor.cs
- DataTableReader.cs
- SqlCachedBuffer.cs
- ValidationErrorCollection.cs
- httpapplicationstate.cs
- Triplet.cs
- ListMarkerSourceInfo.cs
- ContainerUIElement3D.cs
- Point4D.cs
- ConfigXmlCDataSection.cs
- CodeConditionStatement.cs
- DataGridViewTopRowAccessibleObject.cs
- HierarchicalDataSourceControl.cs
- XhtmlCssHandler.cs
- SafeRightsManagementQueryHandle.cs
- PathParser.cs
- Style.cs
- DES.cs
- SignatureHelper.cs
- HexParser.cs
- ProfileEventArgs.cs
- ListBindingConverter.cs
- FormatException.cs
- DataContractAttribute.cs
- DrawItemEvent.cs
- X509Utils.cs
- dsa.cs
- DoubleUtil.cs
- MultilineStringEditor.cs
- ColorTranslator.cs
- ValueHandle.cs
- CodeDelegateInvokeExpression.cs
- DispatcherFrame.cs
- VisualBasicSettingsHandler.cs
- StateBag.cs
- ObsoleteAttribute.cs
- ProvidersHelper.cs
- ClientSideQueueItem.cs
- odbcmetadatacolumnnames.cs
- DocComment.cs