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
- FixedDocumentSequencePaginator.cs
- ParallelSeparator.xaml.cs
- SelectionWordBreaker.cs
- MessageVersion.cs
- VirtualDirectoryMappingCollection.cs
- DataSourceUtil.cs
- TransformedBitmap.cs
- JsonReader.cs
- DiagnosticTraceRecords.cs
- ProxyHelper.cs
- InsufficientMemoryException.cs
- JoinTreeSlot.cs
- UnsafeNativeMethods.cs
- ColorAnimationUsingKeyFrames.cs
- PasswordPropertyTextAttribute.cs
- AutomationAttributeInfo.cs
- UnsafeNativeMethods.cs
- SamlAuthenticationStatement.cs
- PackagingUtilities.cs
- InstanceCreationEditor.cs
- StateMachine.cs
- wgx_render.cs
- ClientSponsor.cs
- PasswordDeriveBytes.cs
- MLangCodePageEncoding.cs
- ClientUrlResolverWrapper.cs
- DateTimeStorage.cs
- Propagator.ExtentPlaceholderCreator.cs
- MemberAccessException.cs
- HMACSHA1.cs
- SqlConnectionHelper.cs
- PenLineCapValidation.cs
- PersonalizationStateInfoCollection.cs
- FileSystemInfo.cs
- DataGridViewColumnDesigner.cs
- GraphicsContext.cs
- SqlUtil.cs
- ClientCultureInfo.cs
- CroppedBitmap.cs
- IgnorePropertiesAttribute.cs
- ConstraintCollection.cs
- ACE.cs
- ClassValidator.cs
- ClientData.cs
- PersistNameAttribute.cs
- AuthenticationModulesSection.cs
- DbException.cs
- CacheMemory.cs
- CodeDirectiveCollection.cs
- MemberAccessException.cs
- BamlRecords.cs
- PermissionSet.cs
- ElementProxy.cs
- PointCollectionConverter.cs
- ValidatedControlConverter.cs
- InputLanguageProfileNotifySink.cs
- TreeNodeBindingCollection.cs
- ClientTargetCollection.cs
- CodeCastExpression.cs
- ButtonStandardAdapter.cs
- DateTimeFormat.cs
- PassportAuthenticationModule.cs
- OracleFactory.cs
- ResponseStream.cs
- HttpCapabilitiesSectionHandler.cs
- BindingOperations.cs
- UnicastIPAddressInformationCollection.cs
- SettingsBindableAttribute.cs
- VariantWrapper.cs
- PopupRoot.cs
- HelpInfo.cs
- WebControlAdapter.cs
- HttpsHostedTransportConfiguration.cs
- infer.cs
- IMembershipProvider.cs
- PageContentCollection.cs
- CriticalExceptions.cs
- FormViewPageEventArgs.cs
- Point3DAnimation.cs
- ColorContextHelper.cs
- EntityKey.cs
- ConfigXmlWhitespace.cs
- AuthorizationRule.cs
- HtmlControl.cs
- ReplyChannelAcceptor.cs
- WebResourceAttribute.cs
- XPathNodeIterator.cs
- DataGridViewRowCollection.cs
- TableLayoutStyleCollection.cs
- SiblingIterators.cs
- XmlWrappingWriter.cs
- DataGridColumn.cs
- ButtonColumn.cs
- WebPartActionVerb.cs
- ReflectionHelper.cs
- EFAssociationProvider.cs
- UshortList2.cs
- X509UI.cs
- BinHexDecoder.cs
- ListViewItemSelectionChangedEvent.cs