Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TemplateComponentConnector.cs
- SAPICategories.cs
- messageonlyhwndwrapper.cs
- PropertyValue.cs
- SerializationInfo.cs
- FormatException.cs
- FormClosedEvent.cs
- XmlDomTextWriter.cs
- Serialization.cs
- SqlConnectionString.cs
- ValidatorCompatibilityHelper.cs
- ImageCodecInfoPrivate.cs
- IntSumAggregationOperator.cs
- Content.cs
- METAHEADER.cs
- ObjectConverter.cs
- RevocationPoint.cs
- SQLMoneyStorage.cs
- ListViewUpdatedEventArgs.cs
- SqlClientWrapperSmiStreamChars.cs
- SqlIdentifier.cs
- WindowsToolbarAsMenu.cs
- InheritanceContextChangedEventManager.cs
- ArrayWithOffset.cs
- TextElementCollection.cs
- QueryOptionExpression.cs
- Stylesheet.cs
- XappLauncher.cs
- XmlCodeExporter.cs
- ParameterCollection.cs
- EntityExpressionVisitor.cs
- dtdvalidator.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CellParaClient.cs
- SmtpFailedRecipientException.cs
- PenThreadWorker.cs
- CookieProtection.cs
- SupportsEventValidationAttribute.cs
- ColorBuilder.cs
- EventHandlerList.cs
- ActivationArguments.cs
- BinaryEditor.cs
- XmlSchemaAttributeGroup.cs
- XmlNodeReader.cs
- KeyValuePair.cs
- DataObjectSettingDataEventArgs.cs
- MatrixTransform.cs
- ValueQuery.cs
- RoleService.cs
- XPathParser.cs
- TransactionProtocolConverter.cs
- PostBackOptions.cs
- QilChoice.cs
- AppDomainProtocolHandler.cs
- SocketException.cs
- CreateUserErrorEventArgs.cs
- CatalogPart.cs
- StateBag.cs
- Misc.cs
- PrimitiveXmlSerializers.cs
- GridSplitterAutomationPeer.cs
- PartialCachingControl.cs
- ContactManager.cs
- ConfigurationManagerHelper.cs
- PictureBox.cs
- PixelFormat.cs
- SuppressedPackageProperties.cs
- ComponentEditorForm.cs
- TitleStyle.cs
- Enumerable.cs
- GenericNameHandler.cs
- TrackingMemoryStreamFactory.cs
- TransactionManager.cs
- Encoding.cs
- Font.cs
- XomlCompilerHelpers.cs
- SmiSettersStream.cs
- HttpHandlersSection.cs
- CodeArgumentReferenceExpression.cs
- InvalidWorkflowException.cs
- ConstNode.cs
- HttpConfigurationSystem.cs
- GeneralTransform3DGroup.cs
- BindToObject.cs
- PackageProperties.cs
- DataSourceDescriptorCollection.cs
- GridSplitter.cs
- MachineKeySection.cs
- TextBoxBase.cs
- x509utils.cs
- ConnectionOrientedTransportChannelFactory.cs
- OracleConnection.cs
- ActionFrame.cs
- SelectionRange.cs
- EmbossBitmapEffect.cs
- CodeBinaryOperatorExpression.cs
- ObjectListItem.cs
- CacheMemory.cs
- RegexMatchCollection.cs
- Throw.cs