SDL_net question
I made a poker game that allow online play. I know some guys willing to make Linux and OS X ports. just out of curiousity, will the windows version be able to interact with the Linux/OS X versions?
Learn to make games with my SDL 2 Tutorials
ok, first of all, your post has nothing to do with SDL_net, second, yes, there is no reason it shouldn't, as long as the protocol is the same on all the ports of the game(which it probably would be).
http://www.roboguy.net(WIP) - lisperati - SICP - Haskell - Python - OCaml - Lambda the Ultimate - Good Math, Bad Math - Wiki (not Wikipedia) - Pure - Term-Rewriting Functional Language
Quote:
Original post by Roboguy
ok, first of all, your post has nothing to do with SDL_net
because I didn't explicitly say that I was using it? It was implied .
Learn to make games with my SDL 2 Tutorials
What you will have to do is make sure you convert any binary data that you send over the network to network order when you send it and host order when you receive it.
For SDL_Net this means using the SDLNet_Write32 SDLNet_Read32 etc functions when working with your data.
Other than that the networking is pretty easy :)
-oddbot
For SDL_Net this means using the SDLNet_Write32 SDLNet_Read32 etc functions when working with your data.
Other than that the networking is pretty easy :)
-oddbot
still, a more fitting topic name would have been "networking question" or something similar, this isn't library specific
http://www.roboguy.net(WIP) - lisperati - SICP - Haskell - Python - OCaml - Lambda the Ultimate - Good Math, Bad Math - Wiki (not Wikipedia) - Pure - Term-Rewriting Functional Language
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement