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
- CodeAttributeArgumentCollection.cs
- ExternalException.cs
- ContainerParaClient.cs
- Rule.cs
- StylusShape.cs
- ColumnResult.cs
- ComponentManagerBroker.cs
- SpeechEvent.cs
- DBDataPermission.cs
- TextParagraph.cs
- WindowsFont.cs
- FragmentQueryProcessor.cs
- TabControl.cs
- TableLayout.cs
- _AcceptOverlappedAsyncResult.cs
- XmlValidatingReader.cs
- Converter.cs
- BuildManager.cs
- COM2ComponentEditor.cs
- AffineTransform3D.cs
- RemoteWebConfigurationHostStream.cs
- ItemsControlAutomationPeer.cs
- XmlDictionaryReaderQuotas.cs
- InvalidComObjectException.cs
- RemoteAsymmetricSignatureFormatter.cs
- SqlSelectStatement.cs
- ProcessHostFactoryHelper.cs
- ActivityXRefConverter.cs
- BindableAttribute.cs
- ClientRolePrincipal.cs
- ThemeDirectoryCompiler.cs
- Assign.cs
- FileDialogCustomPlace.cs
- PrivacyNoticeBindingElementImporter.cs
- BitmapDecoder.cs
- BitVec.cs
- XmlEncoding.cs
- ContentHostHelper.cs
- peersecurityelement.cs
- safex509handles.cs
- PeerNode.cs
- KeyNotFoundException.cs
- OleDbSchemaGuid.cs
- ResourceDescriptionAttribute.cs
- FileNameEditor.cs
- xamlnodes.cs
- DashStyle.cs
- Shape.cs
- CustomExpression.cs
- ConfigXmlCDataSection.cs
- CodePrimitiveExpression.cs
- ComplexTypeEmitter.cs
- RenderDataDrawingContext.cs
- CodeObject.cs
- NumberSubstitution.cs
- CommentEmitter.cs
- XmlBoundElement.cs
- CompareValidator.cs
- InfoCardArgumentException.cs
- SequenceRangeCollection.cs
- SafeViewOfFileHandle.cs
- TypeUsageBuilder.cs
- CollectionMarkupSerializer.cs
- XmlComment.cs
- SamlAssertionKeyIdentifierClause.cs
- FieldNameLookup.cs
- ExpressionStringBuilder.cs
- PbrsForward.cs
- HelpKeywordAttribute.cs
- ReferenceEqualityComparer.cs
- PasswordTextContainer.cs
- UDPClient.cs
- WebDisplayNameAttribute.cs
- ChannelManagerService.cs
- OrderedEnumerableRowCollection.cs
- TypeReference.cs
- WorkflowDesigner.cs
- RNGCryptoServiceProvider.cs
- CacheSection.cs
- MenuItemCollection.cs
- XmlJsonWriter.cs
- ConfigurationManagerInternalFactory.cs
- DesignTimeVisibleAttribute.cs
- CodeIdentifiers.cs
- ColorBlend.cs
- RoleBoolean.cs
- TextChange.cs
- PrinterUnitConvert.cs
- DragCompletedEventArgs.cs
- StorageRoot.cs
- DataGridViewAdvancedBorderStyle.cs
- HttpConfigurationContext.cs
- RemoteWebConfigurationHostServer.cs
- X509WindowsSecurityToken.cs
- OleDbParameterCollection.cs
- RightsManagementEncryptionTransform.cs
- JoinElimination.cs
- QilIterator.cs
- URLMembershipCondition.cs
- ReadOnlyHierarchicalDataSourceView.cs