Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Sockets / LingerOption.cs / 1305376 / 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
- WebPartConnectVerb.cs
- LambdaCompiler.Address.cs
- PolicyLevel.cs
- DescendantOverDescendantQuery.cs
- StrokeSerializer.cs
- HelpFileFileNameEditor.cs
- DataSet.cs
- ListenDesigner.cs
- ProcessHostMapPath.cs
- CommonDialog.cs
- ScalarType.cs
- TargetControlTypeAttribute.cs
- ControlAdapter.cs
- RepeaterItem.cs
- Literal.cs
- PhysicalAddress.cs
- PageStatePersister.cs
- HtmlInputImage.cs
- AnnotationResource.cs
- Calendar.cs
- TextTreePropertyUndoUnit.cs
- Error.cs
- WindowsMenu.cs
- ErrorStyle.cs
- VirtualDirectoryMappingCollection.cs
- HttpApplication.cs
- XmlNamespaceManager.cs
- ToolBarButtonClickEvent.cs
- XamlRtfConverter.cs
- BindingSource.cs
- SelectionPattern.cs
- SqlFileStream.cs
- EditCommandColumn.cs
- SerialPort.cs
- NumericExpr.cs
- XmlNullResolver.cs
- EntityContainer.cs
- DataGridRelationshipRow.cs
- Rect.cs
- WebSysDisplayNameAttribute.cs
- XmlTextReaderImpl.cs
- CompositeKey.cs
- FeatureSupport.cs
- HttpModulesSection.cs
- AdornedElementPlaceholder.cs
- EventWaitHandle.cs
- BamlLocalizabilityResolver.cs
- StyleSelector.cs
- SuppressMessageAttribute.cs
- XsltLoader.cs
- OdbcUtils.cs
- MappingModelBuildProvider.cs
- CodePropertyReferenceExpression.cs
- ReflectionTypeLoadException.cs
- QilIterator.cs
- SqlCacheDependencyDatabase.cs
- EncoderExceptionFallback.cs
- DeviceContexts.cs
- StreamGeometry.cs
- FontInfo.cs
- XmlSerializerSection.cs
- IntSecurity.cs
- Faults.cs
- CommonRemoteMemoryBlock.cs
- GroupBox.cs
- Vector3DCollection.cs
- AstNode.cs
- UiaCoreApi.cs
- Vector3DConverter.cs
- LocalizableAttribute.cs
- StronglyTypedResourceBuilder.cs
- TextDocumentView.cs
- followingquery.cs
- FamilyTypefaceCollection.cs
- WeakHashtable.cs
- TreeViewItem.cs
- xmlglyphRunInfo.cs
- Monitor.cs
- CompilerState.cs
- RMPublishingDialog.cs
- Menu.cs
- SEHException.cs
- SrgsRulesCollection.cs
- __ConsoleStream.cs
- ZipIOFileItemStream.cs
- MembershipPasswordException.cs
- FillRuleValidation.cs
- HttpHandlerAction.cs
- FormsAuthenticationUserCollection.cs
- MatchAttribute.cs
- TypeResolvingOptions.cs
- SQLByteStorage.cs
- RichTextBoxConstants.cs
- ExtendedPropertyDescriptor.cs
- PagePropertiesChangingEventArgs.cs
- WebServiceHandler.cs
- MethodImplAttribute.cs
- AspCompat.cs
- handlecollector.cs
- TreeViewEvent.cs