Code:
/ FX-1434 / FX-1434 / 1.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
- KnownTypesHelper.cs
- PreservationFileReader.cs
- SqlDelegatedTransaction.cs
- ObjectTag.cs
- Path.cs
- FileDataSourceCache.cs
- RegexParser.cs
- SolidColorBrush.cs
- HttpListener.cs
- Model3D.cs
- ProcessManager.cs
- JsonByteArrayDataContract.cs
- HttpHeaderCollection.cs
- TreeBuilder.cs
- TypeEnumerableViewSchema.cs
- ObjectDataSourceSelectingEventArgs.cs
- WindowsAuthenticationEventArgs.cs
- SapiInterop.cs
- DrawingImage.cs
- MdiWindowListStrip.cs
- HostAdapter.cs
- Iis7Helper.cs
- GeometryGroup.cs
- ApplyTemplatesAction.cs
- XmlProcessingInstruction.cs
- InlinedLocationReference.cs
- WindowsTab.cs
- RepeaterItemCollection.cs
- ImmComposition.cs
- SendReply.cs
- CollectionView.cs
- TextReader.cs
- TaskForm.cs
- Control.cs
- PrintDocument.cs
- WebPartVerbCollection.cs
- AsymmetricSignatureFormatter.cs
- MonitorWrapper.cs
- Char.cs
- pingexception.cs
- ColorConverter.cs
- Stream.cs
- HitTestParameters3D.cs
- EmissiveMaterial.cs
- Html32TextWriter.cs
- MemberHolder.cs
- WindowsListViewSubItem.cs
- DataColumnChangeEvent.cs
- IntSecurity.cs
- ControlBuilderAttribute.cs
- XmlSchemaDatatype.cs
- FixedSOMTableCell.cs
- RuleElement.cs
- InvalidComObjectException.cs
- AnnotationResourceChangedEventArgs.cs
- RowVisual.cs
- WindowsComboBox.cs
- WebBrowserContainer.cs
- SecurityProtocol.cs
- CustomCategoryAttribute.cs
- AdornerDecorator.cs
- HttpCachePolicyElement.cs
- OutputCacheSection.cs
- OperatorExpressions.cs
- ContentDisposition.cs
- ParallelTimeline.cs
- ChildrenQuery.cs
- DbProviderFactories.cs
- SchemaObjectWriter.cs
- CollectionViewProxy.cs
- arclist.cs
- VisualState.cs
- ServicePointManager.cs
- Model3D.cs
- TemplateControlBuildProvider.cs
- TimeSpanConverter.cs
- ClientApiGenerator.cs
- ProcessHostFactoryHelper.cs
- FormsAuthenticationTicket.cs
- DecoratedNameAttribute.cs
- DateTimeConverter2.cs
- TextTreeUndoUnit.cs
- FileLogRecordHeader.cs
- WindowsTitleBar.cs
- SubtreeProcessor.cs
- Pkcs7Signer.cs
- Object.cs
- TypeToArgumentTypeConverter.cs
- FreezableOperations.cs
- LocalizableAttribute.cs
- InkCanvas.cs
- Resources.Designer.cs
- CreatingCookieEventArgs.cs
- SendActivityEventArgs.cs
- TextChangedEventArgs.cs
- BufferAllocator.cs
- NamespaceQuery.cs
- RowBinding.cs
- ColorMap.cs
- UnSafeCharBuffer.cs