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
- TlsnegoTokenProvider.cs
- ImplicitInputBrush.cs
- MethodImplAttribute.cs
- AutomationAttributeInfo.cs
- UriSection.cs
- XmlComplianceUtil.cs
- GeometryHitTestParameters.cs
- WeakReferenceEnumerator.cs
- WriteTimeStream.cs
- ToolStripContentPanelRenderEventArgs.cs
- XmlQueryOutput.cs
- SecureStringHasher.cs
- OleDbConnectionInternal.cs
- StylusCollection.cs
- SafeRightsManagementSessionHandle.cs
- COMException.cs
- Vector3DAnimationUsingKeyFrames.cs
- ContextMarshalException.cs
- AppDomainEvidenceFactory.cs
- BroadcastEventHelper.cs
- FontStretch.cs
- DockPattern.cs
- RSACryptoServiceProvider.cs
- ArrayElementGridEntry.cs
- TextContainerChangedEventArgs.cs
- Utils.cs
- StatementContext.cs
- Keyboard.cs
- WebPartHeaderCloseVerb.cs
- RemoteWebConfigurationHost.cs
- LicenseContext.cs
- MetadataArtifactLoaderFile.cs
- SynchronizedDisposablePool.cs
- KeyValuePairs.cs
- CodeCatchClauseCollection.cs
- MatrixCamera.cs
- SimpleParser.cs
- RedBlackList.cs
- SystemIPInterfaceStatistics.cs
- SignedPkcs7.cs
- ScriptResourceInfo.cs
- Rule.cs
- RawAppCommandInputReport.cs
- WindowsListViewScroll.cs
- ComplexPropertyEntry.cs
- SqlDataSourceSelectingEventArgs.cs
- UInt32Converter.cs
- RuntimeIdentifierPropertyAttribute.cs
- BasicCellRelation.cs
- AssemblyAttributes.cs
- FunctionQuery.cs
- EUCJPEncoding.cs
- Queue.cs
- ConfigurationPermission.cs
- SqlCommand.cs
- ReflectionHelper.cs
- FileDialog_Vista_Interop.cs
- WebPartAuthorizationEventArgs.cs
- ConfigurationPermission.cs
- HwndTarget.cs
- WSSecureConversationDec2005.cs
- Request.cs
- NumberFormatInfo.cs
- StorageModelBuildProvider.cs
- ReplyChannelBinder.cs
- UnsupportedPolicyOptionsException.cs
- PaintValueEventArgs.cs
- LineServicesCallbacks.cs
- MessageSmuggler.cs
- ImageListStreamer.cs
- ViewGenResults.cs
- LabelDesigner.cs
- GridItemCollection.cs
- ScrollBar.cs
- PropertyChangedEventArgs.cs
- AuthorizationPolicyTypeElementCollection.cs
- DerivedKeySecurityTokenStub.cs
- XamlDesignerSerializationManager.cs
- SpellerHighlightLayer.cs
- XmlUtf8RawTextWriter.cs
- WebConfigurationHost.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CompiledRegexRunnerFactory.cs
- ToolStripItemTextRenderEventArgs.cs
- CellRelation.cs
- SelfIssuedAuthProofToken.cs
- SimpleType.cs
- DebugInfoExpression.cs
- ManagedCodeMarkers.cs
- MailAddressCollection.cs
- WindowsPrincipal.cs
- ProjectionCamera.cs
- Tracer.cs
- TextTreeUndoUnit.cs
- PageCache.cs
- Operator.cs
- TextBox.cs
- TextEditorTables.cs
- GeometryHitTestParameters.cs
- SerialReceived.cs