Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- SubMenuStyleCollection.cs
- DataSpaceManager.cs
- DateTimeConverter.cs
- IMembershipProvider.cs
- DrawingGroup.cs
- FrameworkElementFactoryMarkupObject.cs
- HttpListenerRequest.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ScaleTransform3D.cs
- RuntimeHelpers.cs
- DecoderReplacementFallback.cs
- FastEncoder.cs
- BulletedList.cs
- ZipIOExtraField.cs
- CodeAttributeDeclaration.cs
- TransactionChannelFaultConverter.cs
- PrimitiveType.cs
- TransformerTypeCollection.cs
- XmlRawWriter.cs
- EdmToObjectNamespaceMap.cs
- TemplateBamlRecordReader.cs
- WorkflowTransactionOptions.cs
- Mouse.cs
- DataGridTextBox.cs
- MessageQueue.cs
- PropertyIDSet.cs
- ExceptionRoutedEventArgs.cs
- ButtonRenderer.cs
- RegexParser.cs
- LogConverter.cs
- ManifestResourceInfo.cs
- SamlAudienceRestrictionCondition.cs
- PenLineCapValidation.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BindingSource.cs
- FormCollection.cs
- Visual3D.cs
- DocumentPaginator.cs
- PointHitTestParameters.cs
- MouseGesture.cs
- regiisutil.cs
- QuestionEventArgs.cs
- ValidatingReaderNodeData.cs
- ScriptControlDescriptor.cs
- XmlReaderSettings.cs
- ScriptServiceAttribute.cs
- Scanner.cs
- TdsParameterSetter.cs
- MasterPageParser.cs
- ColorMap.cs
- BevelBitmapEffect.cs
- WCFServiceClientProxyGenerator.cs
- CodeDOMUtility.cs
- MouseGestureConverter.cs
- InvalidBodyAccessException.cs
- PanelDesigner.cs
- HttpDebugHandler.cs
- ListViewItem.cs
- graph.cs
- FontFamilyConverter.cs
- AttributeCollection.cs
- Logging.cs
- dsa.cs
- Maps.cs
- TextParagraphCache.cs
- CompatibleComparer.cs
- ControlTemplate.cs
- Int32Animation.cs
- TemplateComponentConnector.cs
- CheckBoxPopupAdapter.cs
- BaseDataList.cs
- XPathChildIterator.cs
- GlobalProxySelection.cs
- ButtonChrome.cs
- XmlDataLoader.cs
- NativeMethods.cs
- SchemaTypeEmitter.cs
- HttpResponseWrapper.cs
- MatrixAnimationUsingPath.cs
- WebException.cs
- IOThreadScheduler.cs
- IntAverageAggregationOperator.cs
- OleDbSchemaGuid.cs
- SelectionProviderWrapper.cs
- metadatamappinghashervisitor.cs
- Message.cs
- GregorianCalendarHelper.cs
- CompModSwitches.cs
- Resources.Designer.cs
- ResourceExpressionBuilder.cs
- PopOutPanel.cs
- ImageMapEventArgs.cs
- ReceiveSecurityHeaderElementManager.cs
- UserNameSecurityTokenAuthenticator.cs
- CodeMemberEvent.cs
- PageFunction.cs
- EntityCommandExecutionException.cs
- JoinCqlBlock.cs
- LocationReferenceValue.cs
- CheckBoxStandardAdapter.cs