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
- CssClassPropertyAttribute.cs
- AspCompat.cs
- MobilePage.cs
- WindowsSpinner.cs
- CalendarTable.cs
- Clock.cs
- PassportIdentity.cs
- StylusLogic.cs
- PointLight.cs
- FontFamilyIdentifier.cs
- LinqDataSource.cs
- GeneralTransform2DTo3D.cs
- DataServiceCollectionOfT.cs
- BoundsDrawingContextWalker.cs
- EndpointAddress.cs
- KeyboardNavigation.cs
- ScrollChangedEventArgs.cs
- ItemDragEvent.cs
- Effect.cs
- SourceSwitch.cs
- RSAPKCS1SignatureFormatter.cs
- StringAnimationUsingKeyFrames.cs
- DataGridCommandEventArgs.cs
- ZoneIdentityPermission.cs
- HttpServerUtilityBase.cs
- TraceProvider.cs
- WebRequestModuleElement.cs
- EntityCommandCompilationException.cs
- EventMappingSettings.cs
- ActivityBindForm.cs
- CustomError.cs
- XmlUtf8RawTextWriter.cs
- XmlText.cs
- ReflectTypeDescriptionProvider.cs
- PropertyStore.cs
- ConfigurationException.cs
- XMLUtil.cs
- VisualTreeUtils.cs
- XMLSyntaxException.cs
- CustomAssemblyResolver.cs
- DataSysAttribute.cs
- IfElseDesigner.xaml.cs
- FontFaceLayoutInfo.cs
- PeekCompletedEventArgs.cs
- MailWebEventProvider.cs
- MeshGeometry3D.cs
- EventLogPermission.cs
- ThrowHelper.cs
- OraclePermissionAttribute.cs
- HttpResponse.cs
- ParserStreamGeometryContext.cs
- loginstatus.cs
- ObjectReaderCompiler.cs
- DbConnectionFactory.cs
- GifBitmapDecoder.cs
- PageAdapter.cs
- NoneExcludedImageIndexConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- XPathChildIterator.cs
- UIAgentAsyncEndRequest.cs
- TrackingQuery.cs
- CellCreator.cs
- SystemNetHelpers.cs
- ProtocolsConfigurationHandler.cs
- XmlParserContext.cs
- odbcmetadatafactory.cs
- TextInfo.cs
- HttpProfileBase.cs
- ProviderCommandInfoUtils.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ForeignKeyFactory.cs
- SmtpException.cs
- TextViewBase.cs
- CrossAppDomainChannel.cs
- QueryOutputWriterV1.cs
- SspiNegotiationTokenProviderState.cs
- MetadataCache.cs
- OneOfElement.cs
- ConfigurationManager.cs
- _AutoWebProxyScriptWrapper.cs
- WmpBitmapDecoder.cs
- StyleXamlParser.cs
- DependencyPropertyChangedEventArgs.cs
- BlobPersonalizationState.cs
- DescriptionAttribute.cs
- ChtmlTextWriter.cs
- XmlWrappingReader.cs
- AppSettingsExpressionBuilder.cs
- InternalBufferOverflowException.cs
- LinkDescriptor.cs
- DetailsViewRow.cs
- BindingListCollectionView.cs
- Canvas.cs
- HijriCalendar.cs
- MimeReturn.cs
- PersistChildrenAttribute.cs
- PrintPreviewGraphics.cs
- DictionaryChange.cs
- FloatAverageAggregationOperator.cs
- SqlDataReader.cs