Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Channels / UdpConstants.cs / 1484997 / UdpConstants.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Channels { using System; static class UdpConstants { // max is 64K - 20 (IP header) - 8(UDP header) - 1 (wraparound) public const int MaxMessageSizeOverIPv4 = 64 * 1024 - 20 - 8 - 1; public const int MaxTimeToLive = 255; public const int MinReceiveBufferSize = 1; public const int MinTimeToLive = 0; //localhost traffic only public const int PendingReceiveCountPerProcessor = 2; public const string Scheme = "soap.udp"; internal static class Defaults { public static readonly TimeSpan ReceiveTimeout = TimeSpan.FromMinutes(1); public static readonly TimeSpan SendTimeout = TimeSpan.FromMinutes(1); public const int DuplicateMessageHistoryLength = 0; public const int InterfaceIndex = -1; public const int MaxPendingMessageCount = 32; public const long MaxReceivedMessageSize = (long)UdpConstants.MaxMessageSizeOverIPv4; public const int SocketReceiveBufferSize = 64 * 1024; public const int TimeToLive = 1; public static MessageEncoderFactory MessageEncoderFactory = new TextMessageEncodingBindingElement().CreateMessageEncoderFactory(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListManagerBindingsCollection.cs
- KerberosReceiverSecurityToken.cs
- ParentUndoUnit.cs
- GreenMethods.cs
- MLangCodePageEncoding.cs
- FormsIdentity.cs
- MenuItem.cs
- ParsedAttributeCollection.cs
- Crc32.cs
- BaseParser.cs
- TextTreeDeleteContentUndoUnit.cs
- TrustLevel.cs
- CellParaClient.cs
- TextReturnReader.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SpeakCompletedEventArgs.cs
- RealizationContext.cs
- ArraySubsetEnumerator.cs
- DataColumnMappingCollection.cs
- HttpValueCollection.cs
- MonthCalendar.cs
- SystemInformation.cs
- RuntimeHandles.cs
- WebServiceFaultDesigner.cs
- CodePageUtils.cs
- TileBrush.cs
- ListDictionary.cs
- JournalEntryListConverter.cs
- TextRangeEditLists.cs
- NativeMethods.cs
- CompiledXpathExpr.cs
- XmlSchemaInferenceException.cs
- ClientSideProviderDescription.cs
- UserNamePasswordValidationMode.cs
- EncodingDataItem.cs
- StringUtil.cs
- ResourceExpression.cs
- NestedContainer.cs
- ApplicationBuildProvider.cs
- __TransparentProxy.cs
- TextTreeTextBlock.cs
- SqlDataSourceEnumerator.cs
- TdsParserSafeHandles.cs
- DoubleAnimationUsingKeyFrames.cs
- ICspAsymmetricAlgorithm.cs
- ToolStripSeparator.cs
- DispatcherTimer.cs
- Rijndael.cs
- Substitution.cs
- ResourceBinder.cs
- DrawingImage.cs
- DataMemberListEditor.cs
- SequenceFullException.cs
- DynamicResourceExtension.cs
- EncoderFallback.cs
- WebDisplayNameAttribute.cs
- VisualTreeUtils.cs
- QilXmlReader.cs
- DefaultObjectSerializer.cs
- securestring.cs
- CompensatableSequenceActivity.cs
- MouseBinding.cs
- XmlEnumAttribute.cs
- DynamicControl.cs
- TransportManager.cs
- VisualCollection.cs
- ColorConvertedBitmap.cs
- PlainXmlDeserializer.cs
- DataGridViewSortCompareEventArgs.cs
- PointAnimation.cs
- ExtendedProperty.cs
- ListChangedEventArgs.cs
- CreateUserErrorEventArgs.cs
- DBSqlParserTableCollection.cs
- FigureParagraph.cs
- NativeMethods.cs
- DropTarget.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- VectorCollection.cs
- HandlerWithFactory.cs
- PeerDuplexChannel.cs
- SecondaryIndexDefinition.cs
- ViewGenResults.cs
- ListSortDescriptionCollection.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- SelectionProviderWrapper.cs
- DataGridViewColumn.cs
- AbstractSvcMapFileLoader.cs
- _Semaphore.cs
- EventBuilder.cs
- AmbientLight.cs
- IgnoreFileBuildProvider.cs
- TableRowGroup.cs
- X509ChainPolicy.cs
- BamlRecordWriter.cs
- OperationContext.cs
- NameValueConfigurationCollection.cs
- IisTraceListener.cs
- Part.cs
- HtmlInputRadioButton.cs