dklompmaker

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

126 Neutral

About dklompmaker

  • Rank
    Newbie
  1. I think the obvious first place to start is to Console.Write out the DebugMessage, WarningMessage, and ErrorMessages to see if there is something obvious you are missing. Next, if this doesn't work, then remove the connection approval portion and try a simple send & receive test to see if you can get this to work.   It is also helpful to Console.Write out each incoming packet you receive so you can see where your messages had stopped sending or receiving.
  2. I have used the buzz library in the past to great success on IOS in an html format.   http://buzz.jaysalvat.com/   Do some reading on correct file types for each device what is / isn't supported.
  3. Server/Client Time Synchronization?

    Typically you would send a ping message every n-seconds. When the server receives the packet, it will impart the server time (in tick form) and send a response back to the client. The client would then know the following:   1: The time the packet was created by the client in ticks 2: The time the server received the packet 3: The time the client received the packet   Then using that information you can determine the latency between the client and the server.   When the client receives the ping message they can get the server time (from the message), then add the latency to get "actual" server time.   You could then store that initial server time, and client / server time difference into a variable on the client. Then using a property automatically get the "actual" server time by then adding the average latency.   (not real code) public DateTime serverTime { get { return clientTime + serverDifference; } } Hopefully this gives you an idea on how to get started doing this!