Results 1 to 5 of 5

Thread: Sockets: Best Solution to Multiplayer Online Game?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    167

    Question Sockets: Best Solution to Multiplayer Online Game?

    Hi ,
    I would like your opinions (as I am no expert in this field) on whether I should share player data in a multplayer online game using sockets.

    Are there alternatives?

    Thanks

    Q

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Sockets: Best Solution to Multiplayer Online Game?

    If you're making a multiplayer game that should communicate over the internet (or any network for that matter), then yes you need to use sockets. There's no getting around that.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    167

    Re: Sockets: Best Solution to Multiplayer Online Game?

    I read something about binary serialization. Does that apply in this case?

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Sockets: Best Solution to Multiplayer Online Game?

    Binary serialization is a technique to take an object and "convert" it to binary data that can be stored or sent, to later be deserialized into an object again.
    It doesn't directly have anything to do with what you want to do, but it is indeed the technique you want to use if you want to send objects across the network.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    167

    Re: Sockets: Best Solution to Multiplayer Online Game?

    Thanks

Posting Permissions

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



Click Here to Expand Forum to Full Width