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
- AliasedExpr.cs
- HashHelper.cs
- XmlTextReaderImpl.cs
- PaperSize.cs
- xsdvalidator.cs
- ResolveMatchesMessageCD1.cs
- Menu.cs
- COM2IDispatchConverter.cs
- ColorEditor.cs
- AnnotationDocumentPaginator.cs
- StrokeNodeOperations2.cs
- KeyNotFoundException.cs
- PtsPage.cs
- ContainerFilterService.cs
- AuthenticatedStream.cs
- TcpDuplicateContext.cs
- OletxEnlistment.cs
- XmlBaseReader.cs
- ComponentConverter.cs
- DataPagerFieldItem.cs
- IdentityReference.cs
- ManagementOperationWatcher.cs
- SqlDataSourceRefreshSchemaForm.cs
- BuildResultCache.cs
- HttpCacheVary.cs
- Expressions.cs
- InvalidPropValue.cs
- FullTextBreakpoint.cs
- Profiler.cs
- SolidColorBrush.cs
- CacheMode.cs
- GenericTypeParameterBuilder.cs
- TransformValueSerializer.cs
- Attachment.cs
- HtmlTable.cs
- SqlCharStream.cs
- PropertyChangingEventArgs.cs
- QueryOutputWriter.cs
- BufferedReadStream.cs
- MenuItemStyle.cs
- VirtualDirectoryMapping.cs
- AttributeUsageAttribute.cs
- SerializationEventsCache.cs
- LoginDesigner.cs
- TableLayoutStyleCollection.cs
- InheritanceContextChangedEventManager.cs
- CellTreeNode.cs
- ProvideValueServiceProvider.cs
- UIElement.cs
- DateTimeFormatInfo.cs
- LayoutEngine.cs
- XmlWellformedWriter.cs
- UniqueEventHelper.cs
- MinimizableAttributeTypeConverter.cs
- Trigger.cs
- ScriptingProfileServiceSection.cs
- SelectionRangeConverter.cs
- MenuItemAutomationPeer.cs
- RoleManagerEventArgs.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- EdmItemError.cs
- ServicePerformanceCounters.cs
- InvalidComObjectException.cs
- HMACSHA256.cs
- RangeBase.cs
- EventLogHandle.cs
- DataGridBoundColumn.cs
- WindowsButton.cs
- MailDefinitionBodyFileNameEditor.cs
- NativeDirectoryServicesQueryAPIs.cs
- DictionaryBase.cs
- OleDbConnectionFactory.cs
- CommandPlan.cs
- Overlapped.cs
- FileStream.cs
- ByteStorage.cs
- ValidationError.cs
- CleanUpVirtualizedItemEventArgs.cs
- FilePrompt.cs
- DataGridPreparingCellForEditEventArgs.cs
- SymbolPair.cs
- PeerCredential.cs
- Color.cs
- AnnotationResourceChangedEventArgs.cs
- ExceptionHandlers.cs
- GridSplitterAutomationPeer.cs
- Rotation3D.cs
- SelectingProviderEventArgs.cs
- SqlHelper.cs
- WriteableBitmap.cs
- Events.cs
- ObjectDataSourceMethodEventArgs.cs
- AttachmentCollection.cs
- DbgUtil.cs
- CurrentChangedEventManager.cs
- HtmlHistory.cs
- KeyValuePairs.cs
- ThrowHelper.cs
- ComplusEndpointConfigContainer.cs
- ExceptionHandler.cs