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
- TypedTableHandler.cs
- FieldAccessException.cs
- ObjectViewFactory.cs
- ComponentRenameEvent.cs
- JsonReaderWriterFactory.cs
- sitestring.cs
- WindowsSecurityTokenAuthenticator.cs
- XmlMapping.cs
- InvalidOperationException.cs
- RuleDefinitions.cs
- IntegerValidator.cs
- AbsoluteQuery.cs
- RandomNumberGenerator.cs
- XmlSerializerVersionAttribute.cs
- Parsers.cs
- ConfigXmlReader.cs
- RadioButtonPopupAdapter.cs
- DecoderBestFitFallback.cs
- DashStyle.cs
- SQLByte.cs
- RegionData.cs
- CodeObject.cs
- ObjectQuery.cs
- LayoutTable.cs
- unitconverter.cs
- SingleObjectCollection.cs
- RegexBoyerMoore.cs
- ScriptControl.cs
- StylusPointDescription.cs
- ComplusTypeValidator.cs
- HttpWebRequestElement.cs
- VectorAnimationBase.cs
- TagMapCollection.cs
- QuotedPairReader.cs
- FontWeightConverter.cs
- SqlDependency.cs
- TextElement.cs
- CompositionAdorner.cs
- WindowPatternIdentifiers.cs
- WeakReferenceList.cs
- CaseKeyBox.ViewModel.cs
- DisplayInformation.cs
- Emitter.cs
- CompareValidator.cs
- TableSectionStyle.cs
- _CacheStreams.cs
- AbsoluteQuery.cs
- PersistChildrenAttribute.cs
- SizeIndependentAnimationStorage.cs
- ValidatedControlConverter.cs
- DataServiceQuery.cs
- SEHException.cs
- ContentFilePart.cs
- AutoGeneratedField.cs
- DataView.cs
- SqlMethodAttribute.cs
- LoginView.cs
- CLRBindingWorker.cs
- DataGridViewRow.cs
- StringKeyFrameCollection.cs
- MaterializeFromAtom.cs
- InputScopeConverter.cs
- CommandPlan.cs
- StreamInfo.cs
- DuplicateWaitObjectException.cs
- XmlDictionaryReaderQuotas.cs
- ContractSearchPattern.cs
- CodeDelegateCreateExpression.cs
- WindowsListViewItemStartMenu.cs
- AssemblyName.cs
- FileDialogCustomPlacesCollection.cs
- RawTextInputReport.cs
- SynchronizingStream.cs
- HtmlTextArea.cs
- CurrentTimeZone.cs
- DurationConverter.cs
- ColorConvertedBitmapExtension.cs
- EventWaitHandle.cs
- ServiceNameCollection.cs
- CodeTypeMemberCollection.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- ListViewUpdateEventArgs.cs
- DynamicEndpointElement.cs
- DrawingBrush.cs
- PermissionSetTriple.cs
- UIElementHelper.cs
- DataSourceHelper.cs
- TextBlock.cs
- Literal.cs
- QueryResponse.cs
- RSAOAEPKeyExchangeDeformatter.cs
- MetadataHelper.cs
- CrossAppDomainChannel.cs
- ReceiveContent.cs
- EntityStoreSchemaFilterEntry.cs
- KeyValuePair.cs
- QilValidationVisitor.cs
- MouseCaptureWithinProperty.cs
- ThrowHelper.cs
- WindowsListViewGroup.cs