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
- TextEditorLists.cs
- ColumnHeaderConverter.cs
- StreamInfo.cs
- DataGridColumnHeaderCollection.cs
- DecodeHelper.cs
- LogLogRecordEnumerator.cs
- TickBar.cs
- Point3DCollectionConverter.cs
- EncoderExceptionFallback.cs
- XPathNodeIterator.cs
- StreamUpgradeBindingElement.cs
- handlecollector.cs
- BeginEvent.cs
- IdentitySection.cs
- EntityDataSourceSelectingEventArgs.cs
- ComEventsHelper.cs
- HelpOperationInvoker.cs
- safex509handles.cs
- ConsoleCancelEventArgs.cs
- LocalValueEnumerator.cs
- XmlSchemaComplexContentRestriction.cs
- JoinSymbol.cs
- UnknownWrapper.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DeploymentSectionCache.cs
- HttpCacheParams.cs
- TypeSystemHelpers.cs
- NotifyCollectionChangedEventArgs.cs
- XmlSerializationReader.cs
- Page.cs
- OrderedHashRepartitionStream.cs
- StringWriter.cs
- BridgeDataReader.cs
- EditorZoneBase.cs
- XmlSchemaFacet.cs
- WebPartUtil.cs
- PersonalizationStateInfoCollection.cs
- EventWaitHandleSecurity.cs
- EntityDataSourceDesigner.cs
- LockedHandleGlyph.cs
- FullTextBreakpoint.cs
- ChannelBase.cs
- KeyProperty.cs
- WebPartEventArgs.cs
- ResizeBehavior.cs
- TextFormatterImp.cs
- ValidatingPropertiesEventArgs.cs
- ListViewDeleteEventArgs.cs
- SQLSingle.cs
- DocumentPage.cs
- SegmentInfo.cs
- QuaternionAnimation.cs
- ReceiveCompletedEventArgs.cs
- Label.cs
- Utils.cs
- COAUTHINFO.cs
- UnsafeMethods.cs
- XPathArrayIterator.cs
- InlineObject.cs
- EqualityComparer.cs
- DataSourceXmlClassAttribute.cs
- HtmlInputCheckBox.cs
- FieldMetadata.cs
- DataGridViewLayoutData.cs
- EventRouteFactory.cs
- ConfigUtil.cs
- DataGridViewLinkCell.cs
- SqlCacheDependency.cs
- JapaneseCalendar.cs
- DrawingContextWalker.cs
- InputDevice.cs
- ListChunk.cs
- DrawingCollection.cs
- DbDataAdapter.cs
- Type.cs
- x509store.cs
- CompositeCollectionView.cs
- ObjectComplexPropertyMapping.cs
- SignedInfo.cs
- BulletedListEventArgs.cs
- ColumnResult.cs
- SQlBooleanStorage.cs
- IOException.cs
- Int16.cs
- OrderPreservingPipeliningSpoolingTask.cs
- BmpBitmapEncoder.cs
- AssemblySettingAttributes.cs
- TableRowGroupCollection.cs
- BinaryConverter.cs
- SoapFormatExtensions.cs
- KnowledgeBase.cs
- AnnotationResourceCollection.cs
- SQLUtility.cs
- StylusPointCollection.cs
- HashCoreRequest.cs
- XmlSerializerFactory.cs
- EdmType.cs
- AutoCompleteStringCollection.cs
- EntryPointNotFoundException.cs
- PrimitiveSchema.cs