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
- ipaddressinformationcollection.cs
- HopperCache.cs
- DelayedRegex.cs
- DefaultTextStore.cs
- DataServiceCollectionOfT.cs
- SmiContext.cs
- __Filters.cs
- SamlAttribute.cs
- SHA256Managed.cs
- SR.cs
- XmlDomTextWriter.cs
- DataBindingExpressionBuilder.cs
- TerminateWorkflow.cs
- BaseValidatorDesigner.cs
- SelectorAutomationPeer.cs
- SiteMapDataSource.cs
- SqlTransaction.cs
- OperationCanceledException.cs
- StateRuntime.cs
- InProcStateClientManager.cs
- TextFormatter.cs
- DesignerContextDescriptor.cs
- ViewValidator.cs
- PeerNameRecordCollection.cs
- StackSpiller.Temps.cs
- DesigntimeLicenseContext.cs
- StylusPointPropertyUnit.cs
- ProcessHostFactoryHelper.cs
- ConfigurationException.cs
- MemberDomainMap.cs
- DbResourceAllocator.cs
- DotExpr.cs
- ContextMarshalException.cs
- ProcessRequestArgs.cs
- AgileSafeNativeMemoryHandle.cs
- OracleEncoding.cs
- BitSet.cs
- ParameterCollection.cs
- DataQuery.cs
- SystemIPInterfaceStatistics.cs
- EdmValidator.cs
- GridViewColumnHeader.cs
- DigestComparer.cs
- AssociationProvider.cs
- Repeater.cs
- DataKeyCollection.cs
- GridViewSelectEventArgs.cs
- WpfPayload.cs
- CellPartitioner.cs
- HostedImpersonationContext.cs
- DisposableCollectionWrapper.cs
- namescope.cs
- DomNameTable.cs
- AndCondition.cs
- SoapServerProtocol.cs
- ListViewTableRow.cs
- TdsValueSetter.cs
- DataGridViewComboBoxColumn.cs
- While.cs
- FileClassifier.cs
- IWorkflowDebuggerService.cs
- UnsafeNativeMethods.cs
- ListCollectionView.cs
- SHA1CryptoServiceProvider.cs
- MenuEventArgs.cs
- LogExtent.cs
- ErrorWebPart.cs
- Tokenizer.cs
- XmlWellformedWriter.cs
- SplitterPanel.cs
- TransportDefaults.cs
- OverrideMode.cs
- ToolStripDesignerUtils.cs
- ImagingCache.cs
- WindowsRegion.cs
- SharedUtils.cs
- TriggerAction.cs
- TypeContext.cs
- CreateUserWizard.cs
- ResourceDescriptionAttribute.cs
- ProfileSection.cs
- ShaperBuffers.cs
- XDeferredAxisSource.cs
- ImageCreator.cs
- ExtendedTransformFactory.cs
- XamlVector3DCollectionSerializer.cs
- BamlTreeUpdater.cs
- ProvideValueServiceProvider.cs
- GACIdentityPermission.cs
- KoreanCalendar.cs
- UriTemplateDispatchFormatter.cs
- FontWeight.cs
- URLMembershipCondition.cs
- ErrorFormatterPage.cs
- HostingEnvironmentException.cs
- NetMsmqBinding.cs
- DoubleLinkList.cs
- HwndAppCommandInputProvider.cs
- QilParameter.cs
- CodeDomDesignerLoader.cs