Forum Multiplayer Guaranteed order and disallowed methods

Discussion and help relating to the PlayerIO Multiplayer API.

Guaranteed order and disallowed methods

Postby GMulligan » February 6th, 2010, 7:11 pm

Two questions I couldn't find the answers to in the documentation.

If the client sends two messages to the server are they guaranteed to be received in the order they were sent? If the server sends two messages to a client is the order guaranteed?

In the C sharp documentation it says theres a list of disallowed methods/ classes (I've already stumbled into a bunch of them). Is the list available anywhere for developers?
GMulligan
 
Posts: 8
Joined: February 1st, 2010, 4:02 am

Re: Guaranteed order and disallowed methods

Postby Oliver » February 6th, 2010, 7:18 pm

Hey,

Messages are sent over TCP, so they're guaranteed to be delivered in the same order they're sent.

If we ever add UDP or similar, it will be an option, and not something we'll auto force on users.

It's actually a whitelist of classes.

"System.Net.IPAddress",
"System.Action",
"System.Func",
"System.AsyncCallback",
"System.Boolean",
"System.Byte",
"System.SByte",
"System.Char",
"System.Int16",
"System.Int32",
"System.Int64",
"System.UInt16",
"System.UInt32",
"System.UInt64",
"System.Single",
"System.Double",
"System.String",
"System.DateTime",
"System.DateTimeKind",
"System.DateTimeOffset",
"System.TimeSpan",
"System.DayOfWeek",
"System.Decimal",
"System.Enum",
"System.IDisposable",
"System.DivideByZeroException",
"System.Exception",
"System.ApplicationException",
"System.ArgumentException",
"System.ArgumentNullException",
"System.ArgumentOutOfRangeException",
"System.ArithmeticException",
"System.ArrayTypeMismatchException",
"System.FlagsAttribute",
"System.FormatException",
"System.FieldAccessException",
"System.IndexOutOfRangeException",
"System.InvalidCastException",
"System.InvalidOperationException",
"System.InvalidProgramException",
"System.NotFiniteNumberException",
"System.NotImplementedException",
"System.NotSupportedException",
"System.NullReferenceException",
"System.ObjectDisposedException",
"System.OperationCanceledException",
"System.OverflowException",
"System.RankException",
"System.StackOverflowException",
"System.StackOverflowException",
"System.Math",
"System.Assert",
"System.StringComparison",
"System.StringSplitOptions",
"System.SystemException",
"System.TimeoutException",
"System.TimeZone",
"System.TimeSpan",
"System.UnauthorizedAccessException",
"System.ValueType",
"System.Void",
"System.Object",
"System.Nullable",
"System.Nullable`1",
"System.Action`1",
"System.Array",
"System.ArraySegment`1",
"System.AsyncCallbac",
"System.Comparison`1",
"System.Converter`2",
"System.Delegate",
"System.EventArgs",
"System.EventHandler",
"System.IAsyncResult",
"System.ICloneable",
"System.IComparable",
"System.IComparable`1",
"System.IConvertible",
"System.ICostumFormatter",
"System.IDisposable",
"System.IEquatable",
"System.IFormatProvider",
"System.IFormattable",
"System.MulticastDelegate",
"System.Predicate",
"System.StringComparerer",
"System.StringComparison",
"System.Guid",
"System.Random",
"System.Console",
"System.Text.StringBuilder",
"System.Drawing.Bitmap",
"System.Drawing.Brush",
"System.Drawing.Brushes",
"System.Drawing.Color",
"System.Drawing.Font",
"System.Drawing.FontFamily",
"System.Drawing.FontStyle",
"System.Drawing.Graphics",
"System.Drawing.Image",
"System.Drawing.KnownColor",
"System.Drawing.Pen",
"System.Drawing.Pens",
"System.Drawing.Point",
"System.Drawing.PointF",
"System.Drawing.Rectangle",
"System.Drawing.RectangleConverter",
"System.Drawing.RectangleF",
"System.Drawing.Region",
"System.Drawing.RotateFlipType",
"System.Drawing.Size",
"System.Drawing.SizeConverter",
"System.Drawing.SizeF",
"System.Drawing.SizeFConverter",
"System.Drawing.SolidBrush",
"System.Drawing.StringAlignment",
"System.Drawing.StringDigitSubstitute",
"System.Drawing.StringFormat",
"System.Drawing.StringFormatFlags",
"System.Drawing.StringTrimming",
"System.Drawing.StringUnit",
"System.Drawing.SystemBrushes",
"System.Drawing.SystemColors",
"System.Drawing.SystemFonts",
"System.Drawing.SystemIcons",
"System.Drawing.SystemPens",
"System.Drawing.TextureBrush",
"System.Threading.Monitor",
"System.Runtime.CompilerServices.RuntimeHelpers",
"System.Diagnostics.StopWatch",
"System.Text.RegularExpressions.Capture",
"System.Text.RegularExpressions.CaptureCollection",
"System.Text.RegularExpressions.Group",
"System.Text.RegularExpressions.GroupCollection",
"System.Text.RegularExpressions.Match",
"System.Text.RegularExpressions.MatchCollection",
"System.Text.RegularExpressions.MatchEvaluator",
"System.Text.RegularExpressions.Regex",
"System.Text.RegularExpressions.RegexCompilationInfo",
"System.Text.RegularExpressions.RegexOptions",
"System.Text.Encoding",
"System.BitConverter",
"System.Convert"
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am


Return to Multiplayer



cron