Results 1 to 10 of 13

Thread: Best approach for simple network game

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Yes, thanks. I forgot to mention that this snake "demo" should only work in a local network. I heard something about using UDP, though ...
    Best regards,
    Cybermonkey

  2. #2
    I believe that there is no good reason for using UDP. If you try to use UDP for this, you will only complicate things for yourself. If you use UDP, you will have to implement connection control & data delivery checking yourself. TCP is the way to go. I spent some time trying to figure out how to transfer data over TCP using synapse.... It is not that hard, but lack of detailed documentation complicates things, I had lots of WTFs before I got it working in my application

  3. #3
    Would you mind posting a small (console) example? Do I need a web server installed on one of the computers? If not, how can I "catch" the socket connection? (Do I really need two computers to test, or are two programs on one computer enough?)
    Best regards,
    Cybermonkey

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •