Announcement

Collapse
No announcement yet.

StP Networking

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • StP Networking

    It looks like i'm goona be one of developers responsible for the networking
    So i have found the following libs:
    1. Libnet (http://libnet.sf.net)
    2. HawkNL (http://www.hawksoft.com/hawknl)
    3. GNE (http://www.rit.edu/~jpw9607/gne/)

    The first 2 are rather low-level, but seem to be quite stable, Libnet seems to be not longer developed. GNE seems to be the most promising one, but i see some disadvantages of it:
    - it's quite large;
    - it is built on top of HawkNL, HawkNL has it's own thdeading support, but GNE introduces it's own, but as we use SDL then we should use portable threads from SDL, or am i wrong?
    - it' quite young.

    But meanwhile it is well designed and seems to be easy to use.

    On this week (and maybe some time more) i want to try to make my own network layer (C++ OOP, ideas stolen from GNE , only sockets support (Winsock on Win) and small size ).

    Does anyone has some ideas?
    Any help, comment (even flame ) would be quite appreciated!

  • #2
    Well networking isn't particullary high priority, and due to the nature of the game model (TBS, possible to play via PBEM) sophisticated networking will not be required, fairly simple TCP/IP support would probably do just fine.
    Simple = Good

    SDL_Net should also be a very good candidate, I honestly know nothing about SDL_Net, altough it should be of the same quality as SDL.

    Comment


    • #3
      Just wanted to look today for network libraries used with SDL
      Looks good, but still a little bit low-level.
      Let's see what i can do with it...

      Comment

      Working...
      X