Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlUtil.cs
- _IPv6Address.cs
- GACIdentityPermission.cs
- ComplexType.cs
- BitArray.cs
- SmtpFailedRecipientException.cs
- RegexTree.cs
- WebPartsPersonalization.cs
- ConstrainedDataObject.cs
- __ComObject.cs
- ZoneIdentityPermission.cs
- IdentityHolder.cs
- TreePrinter.cs
- ActivityValidator.cs
- CompilerWrapper.cs
- WindowsToolbarAsMenu.cs
- NullableDoubleAverageAggregationOperator.cs
- HandledMouseEvent.cs
- WMIGenerator.cs
- ClockController.cs
- Context.cs
- Enlistment.cs
- DecimalAnimation.cs
- SqlDataSourceCustomCommandEditor.cs
- IgnoreFileBuildProvider.cs
- DoWorkEventArgs.cs
- KeySplineConverter.cs
- ContainerControl.cs
- RectIndependentAnimationStorage.cs
- StringDictionaryCodeDomSerializer.cs
- DataMisalignedException.cs
- ErrorProvider.cs
- WebPartEditorCancelVerb.cs
- EmbeddedObject.cs
- _OverlappedAsyncResult.cs
- ReferentialConstraint.cs
- DropTarget.cs
- XmlSchemaObjectCollection.cs
- __FastResourceComparer.cs
- SqlGenerator.cs
- XmlObjectSerializerWriteContextComplex.cs
- EditorZoneDesigner.cs
- PcmConverter.cs
- KeyGestureConverter.cs
- SortExpressionBuilder.cs
- Menu.cs
- StorageInfo.cs
- WorkflowShape.cs
- FormViewRow.cs
- NCryptNative.cs
- ItemCheckedEvent.cs
- SQLInt16.cs
- XamlStackWriter.cs
- EnvelopedPkcs7.cs
- ExtendedTransformFactory.cs
- tooltip.cs
- RelatedImageListAttribute.cs
- Perspective.cs
- ActiveXContainer.cs
- AbsoluteQuery.cs
- LambdaCompiler.Logical.cs
- DbFunctionCommandTree.cs
- SafeNativeMethods.cs
- XmlName.cs
- XmlDictionaryReaderQuotas.cs
- ContentFileHelper.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- HandleInitializationContext.cs
- ServiceDescriptionSerializer.cs
- documentsequencetextcontainer.cs
- CharConverter.cs
- TreeNodeEventArgs.cs
- PathGeometry.cs
- WsatConfiguration.cs
- RetrieveVirtualItemEventArgs.cs
- FrugalList.cs
- Normalizer.cs
- HMACMD5.cs
- QilFactory.cs
- DropDownHolder.cs
- RoutedEvent.cs
- Filter.cs
- ZipFileInfoCollection.cs
- ClearCollection.cs
- Selector.cs
- FlowNode.cs
- SetStoryboardSpeedRatio.cs
- SafeCoTaskMem.cs
- DomainConstraint.cs
- XmlSchemaSequence.cs
- TableSectionStyle.cs
- DetailsViewUpdateEventArgs.cs
- ConnectionStringsSection.cs
- CounterSetInstanceCounterDataSet.cs
- SiteMapDataSource.cs
- BaseValidatorDesigner.cs
- ErrorRuntimeConfig.cs
- TerminatingOperationBehavior.cs
- AutomationIdentifier.cs
- BadImageFormatException.cs