Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- VisualStyleRenderer.cs
- IsolatedStoragePermission.cs
- ForceCopyBuildProvider.cs
- ListMarkerSourceInfo.cs
- Point3D.cs
- DataGridCell.cs
- SourceElementsCollection.cs
- RootBrowserWindowAutomationPeer.cs
- DataServiceRequestOfT.cs
- PeerNodeTraceRecord.cs
- TemplateBindingExpressionConverter.cs
- TextEvent.cs
- CapabilitiesRule.cs
- ImageMap.cs
- ConfigPathUtility.cs
- _StreamFramer.cs
- HitTestWithGeometryDrawingContextWalker.cs
- BitmapVisualManager.cs
- DescriptionAttribute.cs
- BackgroundWorker.cs
- ControlEvent.cs
- HttpProxyTransportBindingElement.cs
- DateTime.cs
- SafeTimerHandle.cs
- RequestCacheManager.cs
- SoapSchemaMember.cs
- WindowsSolidBrush.cs
- SingleConverter.cs
- AdCreatedEventArgs.cs
- CompareInfo.cs
- XamlTreeBuilderBamlRecordWriter.cs
- EditorPartChrome.cs
- ListManagerBindingsCollection.cs
- CompiledAction.cs
- dtdvalidator.cs
- ProtocolsConfigurationEntry.cs
- DataGridViewDataErrorEventArgs.cs
- Registry.cs
- Substitution.cs
- SessionStateUtil.cs
- PathGeometry.cs
- EmptyWorkItem.cs
- XpsImageSerializationService.cs
- InternalUserCancelledException.cs
- XmlUTF8TextWriter.cs
- OrderByQueryOptionExpression.cs
- EntityDataSourceContextCreatedEventArgs.cs
- PopupRootAutomationPeer.cs
- HierarchicalDataSourceIDConverter.cs
- CustomErrorsSection.cs
- PolicyStatement.cs
- InputScope.cs
- FileIOPermission.cs
- GridViewColumn.cs
- SerTrace.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- CodeIdentifier.cs
- DiscardableAttribute.cs
- SqlRowUpdatedEvent.cs
- TraceListeners.cs
- OLEDB_Enum.cs
- ImageConverter.cs
- documentation.cs
- InvalidAsynchronousStateException.cs
- EdmComplexTypeAttribute.cs
- RectAnimationBase.cs
- BaseCodeDomTreeGenerator.cs
- DataGridViewUtilities.cs
- RenderingEventArgs.cs
- ArraySegment.cs
- CodePageUtils.cs
- CssTextWriter.cs
- FacetChecker.cs
- RuntimeResourceSet.cs
- DrawTreeNodeEventArgs.cs
- DynamicPropertyHolder.cs
- Converter.cs
- SafeNativeMethodsOther.cs
- EraserBehavior.cs
- ScrollContentPresenter.cs
- DiagnosticStrings.cs
- EventLogPermissionAttribute.cs
- GroupItem.cs
- DataGridViewMethods.cs
- RtType.cs
- ComponentCollection.cs
- EntityDataSourceChangedEventArgs.cs
- DataMisalignedException.cs
- MouseDevice.cs
- XmlWrappingWriter.cs
- Base64Encoder.cs
- Parallel.cs
- InternalException.cs
- ThreadAbortException.cs
- OleDbError.cs
- Int32Storage.cs
- _CookieModule.cs
- ToolBarTray.cs
- InplaceBitmapMetadataWriter.cs
- AudioDeviceOut.cs