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
- Transform.cs
- Executor.cs
- GraphicsContext.cs
- TextTabProperties.cs
- SiteMapNode.cs
- NumberFunctions.cs
- DataSourceSelectArguments.cs
- PlanCompiler.cs
- InstanceData.cs
- EncoderBestFitFallback.cs
- InternalRelationshipCollection.cs
- FreezableCollection.cs
- ColumnMapCopier.cs
- CalendarTable.cs
- XmlAtomicValue.cs
- basevalidator.cs
- UserPersonalizationStateInfo.cs
- GenericQueueSurrogate.cs
- BuildProvider.cs
- DBParameter.cs
- FlowchartSizeFeature.cs
- FilterRepeater.cs
- CatalogPartChrome.cs
- EarlyBoundInfo.cs
- CurrencyManager.cs
- DesignerLoader.cs
- OuterGlowBitmapEffect.cs
- OleDbTransaction.cs
- PersonalizableAttribute.cs
- sqlser.cs
- XmlDictionaryWriter.cs
- MappingException.cs
- FontFaceLayoutInfo.cs
- propertyentry.cs
- ColorDialog.cs
- FindSimilarActivitiesVerb.cs
- ProgressPage.cs
- CompilationLock.cs
- FormatConvertedBitmap.cs
- SafeRightsManagementEnvironmentHandle.cs
- Table.cs
- CodeVariableDeclarationStatement.cs
- DiscoveryInnerClientManaged11.cs
- AudioFileOut.cs
- ReadOnlyActivityGlyph.cs
- AsyncContentLoadedEventArgs.cs
- ObjectPropertyMapping.cs
- SqlTriggerAttribute.cs
- MemoryRecordBuffer.cs
- BaseValidator.cs
- StylusCollection.cs
- XMLSchema.cs
- FocusTracker.cs
- AttributeTableBuilder.cs
- sqlmetadatafactory.cs
- ObjectListCommandCollection.cs
- TypeConverter.cs
- RecordManager.cs
- ExpressionBindings.cs
- TraceLog.cs
- WebBrowserNavigatingEventHandler.cs
- XmlSchemaSimpleContent.cs
- DataServiceContext.cs
- ArgIterator.cs
- Win32SafeHandles.cs
- InputChannelAcceptor.cs
- TextServicesProperty.cs
- _HelperAsyncResults.cs
- PerformanceCounterPermissionAttribute.cs
- ServicesExceptionNotHandledEventArgs.cs
- SafeFileMapViewHandle.cs
- DSACryptoServiceProvider.cs
- UnSafeCharBuffer.cs
- ResourcesGenerator.cs
- VersionedStream.cs
- EntityDataSourceColumn.cs
- BamlLocalizableResource.cs
- PageBorderless.cs
- HostUtils.cs
- Math.cs
- SoapElementAttribute.cs
- ServerValidateEventArgs.cs
- Propagator.Evaluator.cs
- GroupStyle.cs
- MSHTMLHost.cs
- ProcessModuleCollection.cs
- ReflectPropertyDescriptor.cs
- FixedPosition.cs
- LineInfo.cs
- ApplicationFileCodeDomTreeGenerator.cs
- RefreshPropertiesAttribute.cs
- BuildResult.cs
- ConstructorBuilder.cs
- TemplatePropertyEntry.cs
- KeyValuePair.cs
- ListViewContainer.cs
- DataGridViewDesigner.cs
- StickyNote.cs
- HostProtectionException.cs
- ViewStateAttachedPropertyFeature.cs