Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / Net / Sockets / SocketInformation.cs / 1 / SocketInformation.cs
namespace System.Net.Sockets { [Serializable] public struct SocketInformation{ byte[] protocolInformation; SocketInformationOptions options; public byte[] ProtocolInformation{ get{ return protocolInformation; } set{ protocolInformation = value; } } public SocketInformationOptions Options{ get{ return options; } set{ options = value; } } internal bool IsNonBlocking{ get{ return ((options&SocketInformationOptions.NonBlocking)!=0); } set{ if(value){ options |= SocketInformationOptions.NonBlocking; } else{ options &= ~SocketInformationOptions.NonBlocking; } } } internal bool IsConnected{ get{ return ((options&SocketInformationOptions.Connected)!=0); } set{ if(value){ options |= SocketInformationOptions.Connected; } else{ options &= ~SocketInformationOptions.Connected; } } } internal bool IsListening{ get{ return ((options&SocketInformationOptions.Listening)!=0); } set{ if(value){ options |= SocketInformationOptions.Listening; } else{ options &= ~SocketInformationOptions.Listening; } } } internal bool UseOnlyOverlappedIO{ get{ return ((options&SocketInformationOptions.UseOnlyOverlappedIO)!=0); } set{ if(value){ options |= SocketInformationOptions.UseOnlyOverlappedIO; } else{ options &= ~SocketInformationOptions.UseOnlyOverlappedIO; } } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MetadataPropertyvalue.cs
- ResourceCategoryAttribute.cs
- AutoGeneratedFieldProperties.cs
- AlternateView.cs
- PrintController.cs
- StandardBindingCollectionElement.cs
- TextMarkerSource.cs
- DelayedRegex.cs
- MsmqNonTransactedPoisonHandler.cs
- ScriptModule.cs
- BindingGraph.cs
- VisualBrush.cs
- WorkflowRuntimeServiceElement.cs
- PreviewPageInfo.cs
- SimpleRecyclingCache.cs
- SoapHeaderAttribute.cs
- ConnectionProviderAttribute.cs
- WorkflowClientDeliverMessageWrapper.cs
- ConfigDefinitionUpdates.cs
- FunctionNode.cs
- GridItemCollection.cs
- DPTypeDescriptorContext.cs
- XmlSerializationWriter.cs
- SHA1Managed.cs
- ApplicationCommands.cs
- ParserContext.cs
- DefaultDialogButtons.cs
- ReflectEventDescriptor.cs
- SoapElementAttribute.cs
- StandardOleMarshalObject.cs
- HttpChannelBindingToken.cs
- RowTypePropertyElement.cs
- TabPanel.cs
- _SslState.cs
- NullRuntimeConfig.cs
- TrackingRecord.cs
- MessageBodyDescription.cs
- BitmapMetadataEnumerator.cs
- DesignerCapabilities.cs
- WeakReferenceKey.cs
- SafePointer.cs
- MappingSource.cs
- InsufficientMemoryException.cs
- WrapPanel.cs
- DotAtomReader.cs
- ConnectionManagementSection.cs
- HttpCachePolicyElement.cs
- SqlDataSourceSelectingEventArgs.cs
- ResourceSetExpression.cs
- HtmlAnchor.cs
- PKCS1MaskGenerationMethod.cs
- Trustee.cs
- AssemblyBuilderData.cs
- NGCPageContentCollectionSerializerAsync.cs
- OptimisticConcurrencyException.cs
- ExtentKey.cs
- TreeSet.cs
- InvokeHandlers.cs
- ExtendedPropertyDescriptor.cs
- CqlWriter.cs
- QuaternionConverter.cs
- DataObjectAttribute.cs
- OpenTypeCommon.cs
- UmAlQuraCalendar.cs
- TextServicesCompartmentContext.cs
- DragCompletedEventArgs.cs
- Win32Exception.cs
- PeerApplicationLaunchInfo.cs
- TakeQueryOptionExpression.cs
- HasCopySemanticsAttribute.cs
- OpCopier.cs
- RelationalExpressions.cs
- AdditionalEntityFunctions.cs
- CopyOfAction.cs
- SqlDataSourceFilteringEventArgs.cs
- OutputCacheSettingsSection.cs
- PassportAuthenticationModule.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TypeDescriptor.cs
- FieldAccessException.cs
- NativeMethods.cs
- MouseGestureValueSerializer.cs
- ParagraphVisual.cs
- CursorInteropHelper.cs
- Random.cs
- ConfigUtil.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- GlobalProxySelection.cs
- DependencyProperty.cs
- MobileErrorInfo.cs
- BitmapEffectOutputConnector.cs
- XmlWrappingReader.cs
- ToolboxDataAttribute.cs
- LOSFormatter.cs
- CopyAttributesAction.cs
- CompilationRelaxations.cs
- DecoratedNameAttribute.cs
- BitFlagsGenerator.cs
- OracleConnectionFactory.cs
- Block.cs