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
- CapabilitiesSection.cs
- TextDpi.cs
- MasterPageParser.cs
- UserUseLicenseDictionaryLoader.cs
- MenuItemBindingCollection.cs
- ApplyImportsAction.cs
- WebPartEditorCancelVerb.cs
- CellQuery.cs
- TrackingProfileSerializer.cs
- Exceptions.cs
- Context.cs
- TableItemStyle.cs
- BufferModeSettings.cs
- EventLogPermissionHolder.cs
- StateMachineSubscriptionManager.cs
- AuthenticationModuleElementCollection.cs
- ObjectQuery_EntitySqlExtensions.cs
- SqlDataSourceQuery.cs
- CodeTypeConstructor.cs
- FontStretchConverter.cs
- Funcletizer.cs
- ScaleTransform.cs
- KeyBinding.cs
- CommandField.cs
- TraceProvider.cs
- XmlReflectionImporter.cs
- ClientConfigurationHost.cs
- DeobfuscatingStream.cs
- DocumentationServerProtocol.cs
- DebuggerService.cs
- Asn1IntegerConverter.cs
- StreamReader.cs
- DPCustomTypeDescriptor.cs
- Utils.cs
- RC2CryptoServiceProvider.cs
- ExtenderControl.cs
- oledbmetadatacolumnnames.cs
- CheckBoxRenderer.cs
- InternalUserCancelledException.cs
- ToolStripDropDownItem.cs
- MatrixConverter.cs
- DecimalAnimationUsingKeyFrames.cs
- WebPartManager.cs
- StrongBox.cs
- AccessibleObject.cs
- BooleanKeyFrameCollection.cs
- Pen.cs
- RandomNumberGenerator.cs
- TrackingProfile.cs
- OutOfProcStateClientManager.cs
- MimeTypeMapper.cs
- GridEntry.cs
- ConstrainedGroup.cs
- DelegatingStream.cs
- HttpProfileGroupBase.cs
- Choices.cs
- SizeKeyFrameCollection.cs
- DataReceivedEventArgs.cs
- mactripleDES.cs
- TransportBindingElementImporter.cs
- ListenerAdapterBase.cs
- EntityDesignPluralizationHandler.cs
- JsonReader.cs
- CallbackTimeoutsElement.cs
- Util.cs
- GeneratedContractType.cs
- PageParserFilter.cs
- BCLDebug.cs
- comcontractssection.cs
- XmlHierarchicalDataSourceView.cs
- CompositeFontFamily.cs
- RadioButtonList.cs
- DataDesignUtil.cs
- MetaForeignKeyColumn.cs
- LoginView.cs
- ArgumentNullException.cs
- ScriptReferenceBase.cs
- ResourceAttributes.cs
- ApplicationCommands.cs
- WinFormsUtils.cs
- PointCollectionValueSerializer.cs
- IdentityReference.cs
- TimeManager.cs
- CriticalFileToken.cs
- HitTestFilterBehavior.cs
- Expr.cs
- DataGridViewCellStyle.cs
- StorageEntityTypeMapping.cs
- KeyValuePair.cs
- Stacktrace.cs
- PolyQuadraticBezierSegment.cs
- PageTheme.cs
- BindingCompleteEventArgs.cs
- HttpApplication.cs
- Debug.cs
- BaseCollection.cs
- TextBox.cs
- ValidatedControlConverter.cs
- Image.cs
- CompoundFileStreamReference.cs