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
- PerformanceCounterLib.cs
- Int32KeyFrameCollection.cs
- InputLanguage.cs
- GridViewUpdateEventArgs.cs
- CommunicationException.cs
- NativeWrapper.cs
- DataGridCellAutomationPeer.cs
- StrokeNodeData.cs
- DrawingCollection.cs
- WebResourceUtil.cs
- HtmlInputHidden.cs
- _BaseOverlappedAsyncResult.cs
- PropertyIDSet.cs
- _NegotiateClient.cs
- DBCommand.cs
- TextServicesContext.cs
- CatalogPartCollection.cs
- ControlCachePolicy.cs
- UrlPath.cs
- PersonalizationStateInfoCollection.cs
- HttpWebRequest.cs
- DescendantOverDescendantQuery.cs
- OutputCacheSettingsSection.cs
- Compiler.cs
- WebPartVerb.cs
- RoutedEventArgs.cs
- FlowDocumentPaginator.cs
- DisplayInformation.cs
- FileLoadException.cs
- AppDomainManager.cs
- ManipulationDevice.cs
- CommandBinding.cs
- ToolTipAutomationPeer.cs
- IntSumAggregationOperator.cs
- IImplicitResourceProvider.cs
- WebGetAttribute.cs
- EnvelopedPkcs7.cs
- PersonalizationStateInfoCollection.cs
- DataSourceView.cs
- XPathNavigator.cs
- GeometryGroup.cs
- PkcsMisc.cs
- CodeConstructor.cs
- DefaultTextStore.cs
- JapaneseCalendar.cs
- AssemblyNameProxy.cs
- Models.cs
- ExtentKey.cs
- FilteredReadOnlyMetadataCollection.cs
- Menu.cs
- SQLStringStorage.cs
- SecurityToken.cs
- IncomingWebResponseContext.cs
- IPAddress.cs
- CopyOfAction.cs
- Logging.cs
- DesignerOptionService.cs
- HttpCacheVaryByContentEncodings.cs
- ReadOnlyHierarchicalDataSource.cs
- RangeValueProviderWrapper.cs
- EventMap.cs
- DeriveBytes.cs
- OuterGlowBitmapEffect.cs
- PassportIdentity.cs
- AuthenticationException.cs
- Logging.cs
- PageAsyncTask.cs
- GetFileNameResult.cs
- XmlCustomFormatter.cs
- TimeoutException.cs
- FixedSOMTable.cs
- Transform3D.cs
- StringUtil.cs
- MetadataItemEmitter.cs
- arabicshape.cs
- COM2FontConverter.cs
- PrintDialog.cs
- FamilyMap.cs
- Icon.cs
- ComEventsInfo.cs
- ItemsControl.cs
- GroupAggregateExpr.cs
- Hyperlink.cs
- SystemIPv4InterfaceProperties.cs
- DataGridViewTopLeftHeaderCell.cs
- Bezier.cs
- HttpRuntimeSection.cs
- GenericEnumConverter.cs
- SqlFunctions.cs
- PolygonHotSpot.cs
- SrgsItemList.cs
- LabelExpression.cs
- EditCommandColumn.cs
- HashCodeCombiner.cs
- ScrollBarAutomationPeer.cs
- RegexGroup.cs
- MeshGeometry3D.cs
- RootBuilder.cs
- ProtocolsConfiguration.cs
- DragDeltaEventArgs.cs