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
- httpapplicationstate.cs
- TranslateTransform.cs
- Visitors.cs
- UIntPtr.cs
- HandlerBase.cs
- ActiveXHelper.cs
- PropertyToken.cs
- TdsParserSafeHandles.cs
- XmlHelper.cs
- SmtpTransport.cs
- Vector3DAnimationBase.cs
- ItemContainerProviderWrapper.cs
- StringSource.cs
- InputGestureCollection.cs
- BypassElement.cs
- Annotation.cs
- ContentPosition.cs
- SmtpDigestAuthenticationModule.cs
- KnownBoxes.cs
- GroupStyle.cs
- StickyNoteHelper.cs
- ParameterEditorUserControl.cs
- OdbcException.cs
- DataSourceSelectArguments.cs
- InvokeProviderWrapper.cs
- SynchronizationContext.cs
- MouseGestureConverter.cs
- ContainerUtilities.cs
- CompositeActivityCodeGenerator.cs
- CompoundFileReference.cs
- SettingsAttributeDictionary.cs
- FontStyleConverter.cs
- FaultDescription.cs
- EntityDataSourceColumn.cs
- VectorAnimationUsingKeyFrames.cs
- TabItem.cs
- AnnotationHighlightLayer.cs
- FragmentNavigationEventArgs.cs
- Compiler.cs
- WindowProviderWrapper.cs
- securitycriticaldataClass.cs
- ElementProxy.cs
- PrintEvent.cs
- ZoneMembershipCondition.cs
- SetUserLanguageRequest.cs
- Run.cs
- FullTextState.cs
- WindowsRegion.cs
- WindowsToolbarItemAsMenuItem.cs
- DataGridColumnHeader.cs
- EmptyQuery.cs
- CheckBox.cs
- UserControl.cs
- EmptyStringExpandableObjectConverter.cs
- OracleSqlParser.cs
- GifBitmapEncoder.cs
- VoiceObjectToken.cs
- TextAutomationPeer.cs
- VisualTarget.cs
- Adorner.cs
- StateManagedCollection.cs
- BindingNavigator.cs
- TextFormatterContext.cs
- EnumType.cs
- WebResourceAttribute.cs
- GraphicsState.cs
- AssemblyBuilder.cs
- storepermission.cs
- MissingManifestResourceException.cs
- HtmlTableRowCollection.cs
- StickyNote.cs
- SimpleMailWebEventProvider.cs
- NamespaceList.cs
- InvokeMemberBinder.cs
- StrokeNodeEnumerator.cs
- DetailsViewRowCollection.cs
- ValidationSummary.cs
- PublishLicense.cs
- OperandQuery.cs
- ModifiableIteratorCollection.cs
- ArgumentException.cs
- XmlDataSource.cs
- EdmTypeAttribute.cs
- BrowserInteropHelper.cs
- CheckedListBox.cs
- Size3DValueSerializer.cs
- Events.cs
- InvokeHandlers.cs
- WorkflowEnvironment.cs
- PagedDataSource.cs
- DrawingBrush.cs
- DropDownList.cs
- DataObjectSettingDataEventArgs.cs
- AssemblyAttributesGoHere.cs
- AlphaSortedEnumConverter.cs
- CollectionConverter.cs
- AutomationElement.cs
- StringHelper.cs
- ForwardPositionQuery.cs
- FileDialogPermission.cs